Date: Sat, 24 May 2003 06:44:19 +0300 From: Ruslan Ermilov <ru@freebsd.org> To: Craig Rodrigues <rodrigc@attbi.com> Cc: freebsd-current@freebsd.org Subject: Re: Updating -CURRENT, what about outdated files? Message-ID: <20030524034419.GA63643@sunbay.com> In-Reply-To: <20030523203517.GA93787@attbi.com> References: <20030523203517.GA93787@attbi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--pf9I7BMVVzbSWLtt Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 23, 2003 at 04:35:17PM -0400, Craig Rodrigues wrote: > Hi, >=20 > On one of my systems, I like to track -CURRENT, so I do a lot of: > - cvsup > - make buildworld > - make buildkernel > - make installkernel > - mergemaster -p > - make installworld > - mergemaster >=20 > If I do this a lot, then sometimes my installed world may have > outdated libraries and header files. How can I make sure that > my installed tree doesn't have outdated stuff? >=20 > For example, just before doing make installworld, I sometimes do: > rm -r /usr/include >=20 > I am too scared to do this for /usr/lib or any other directory. >=20 > Is there a good way to do what I want? >=20 I do this a lot too. And I use "find . -mtime +1 ! -type d" to seek for the stale stuff. This of course requires that you're not running with ``INSTALL=3D"install -C"'' in /etc/make.conf. Things that are installed with -C, or aren't touched if they already exist, should not be deleted. I use the common sense and my experience when deciding if I should delete a particular file or not. I also keep the output of the previous "make distrib-dirs distribution" run in /var/tmp/`date +%Y%m%d`, and this allows me to remove stake directories and other stuff that is not affected by "installworld", like /etc. But then again, this is probably because I don't use mergemaster(8). Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --pf9I7BMVVzbSWLtt Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+zuqTUkv4P6juNwoRAtzjAJ9QnooVcrddlfyW3kpKUijEphx+GgCghI/6 yaMx4YAJnVTB/e42Tqdo98w= =5rtW -----END PGP SIGNATURE----- --pf9I7BMVVzbSWLtt--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030524034419.GA63643>