Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 2004 02:36:36 -0700
From:      Colin Percival <colin.percival@wadham.ox.ac.uk>
To:        Max Laier <max@love2party.net>
Cc:        Warner Losh <imp@freebsd.org>
Subject:   Re: How to clean out old files after 'make world'?
Message-ID:  <6.1.0.6.1.20040730022305.03d48568@popserver.sfu.ca>
In-Reply-To: <200407301117.32470.max@love2party.net>
References:  <web-108250817@tut.by> <20040730065638.GE36338@ip.net.ua> <200407301117.32470.max@love2party.net>

next in thread | previous in thread | raw e-mail | index | archive | help
At 02:17 30/07/2004, Max Laier wrote:
>I am wondering, would it be possible to (automatically) create pkg-plist info 
>for the NO_* targets in make.conf? We could put that into the ports-tree 
>somewhere and if you'd like to remove something completely you can install 
>the dummy port & pkg-plist and use pkg_delete to clean up.
>
>It seems to me that it might be possible to add some kind of Makefile hint 
>variables (i.e. define a variable in Makefiles/targets that depend on NO_*) 
>that'd help to generate filelists for the NO_* targets. If this is the case 
>it should be possible to place pkg descriptions into /var/db/pkg during the 
>installworld pass. This would also make it easy to get rid of things after a 
>CDROM install.

In March, I posted to freebsd-current (subject: Nuking parts of the world)
offering a patch which makes it possible to remove some subsystems:

http://docs.freebsd.org/cgi/mid.cgi?6.0.1.1.1.20040316023919.039fa5f0

Colin Percival




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6.1.0.6.1.20040730022305.03d48568>