Date: Tue, 8 Dec 2009 23:22:53 +0100 From: Roland Smith <rsmith@xs4all.nl> To: nickolasbug@gmail.com Cc: freebsd-stable@freebsd.org Subject: Re: some options in src.conf has no effect (RELENG_8) Message-ID: <20091208222253.GA42494@slackbox.xs4all.nl> In-Reply-To: <368117f30912081226l76fb3dcftc44ffa0a5e225f99@mail.gmail.com> References: <368117f30912081226l76fb3dcftc44ffa0a5e225f99@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 08, 2009 at 10:26:13PM +0200, nickolasbug@gmail.com wrote: >=20 > And there are options that have no effect: > WITHOUT_CTM > WITHOUT_CVS > WITHOUT_FREEBSD_UPDATE > WITHOUT_IPFW > WITHOUT_PORTSNAP > WITHOUT_RCS > WITHOUT_ROUTED I'm using WITHOUT_CTM and WITHOUT_CVS. When building the new system, cvs and ctm* are _not_ built. But the old executables are not deleted; look at their dates. According to src.conf(5): "The only purpose of src.conf is to control the compilation of the FreeBSD source code..."=20 So the fact that old executables and manual pages are not deleted is not strictly a bug. > I've done "make delete-old" and "make delete-old-libs" during upgrade. >=20 > Can somebody comment this? Using "make delete-old" includes /usr/src/ObsoleteFiles.inc into the build Makefile. This file contains the names of files that have been made obsolete by newer FreeBSD versions. It does not have anything to do with things that= do not have to be installed because they are excluded by src.conf. You could write an extension to the Makefile that build e.g. a /usr/src/IgnoreFiles.inc based on the contents of /etc/src.conf. But it is probable easier to run find(1) in /usr looking for files older than your buildworld.=20 E.g., I've rebuilt world on December 3rd. Looking for different binaries in /usb/bin with the command 'find /usr/bin -type f -and -not -mtime 6 -ls'. If you are sure this is all junk, replace -ls with -delete. If you screw something up, re-run installworld. :-) Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --sm4nu43k4a2Rpi4c Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAkse0b0ACgkQEnfvsMMhpyU1dQCeOSTzibnsE/cOMgKSb3wUuakZ g5cAn1+CZVy5nevpy/C8aJwx4CJVajGQ =e3N3 -----END PGP SIGNATURE----- --sm4nu43k4a2Rpi4c--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091208222253.GA42494>