From owner-freebsd-hackers@FreeBSD.ORG Fri Jul 30 09:56:03 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EEE7A16A4CE; Fri, 30 Jul 2004 09:56:03 +0000 (GMT) Received: from pd3mo1so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8227E43D41; Fri, 30 Jul 2004 09:56:03 +0000 (GMT) (envelope-from colin.percival@wadham.ox.ac.uk) Received: from pd3mr7so.prod.shaw.ca (pd3mr7so-qfe3.prod.shaw.ca [10.0.141.23])2003)) with ESMTP id <0I1N00IRZS6D9D@l-daemon>; Fri, 30 Jul 2004 03:39:49 -0600 (MDT) Received: from pn2ml4so.prod.shaw.ca ([10.0.121.148]) by pd3mr7so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0I1N00LN7S6DHHM0@pd3mr7so.prod.shaw.ca>; Fri, 30 Jul 2004 03:39:49 -0600 (MDT) Received: from piii600.wadham.ox.ac.uk (S0106006067227a4a.vc.shawcable.net [24.87.233.42])2003)) with ESMTP id <0I1N00J1ES6BX6@l-daemon>; Fri, 30 Jul 2004 03:39:49 -0600 (MDT) Date: Fri, 30 Jul 2004 02:36:36 -0700 From: Colin Percival In-reply-to: <200407301117.32470.max@love2party.net> X-Sender: cperciva@popserver.sfu.ca (Unverified) To: Max Laier Message-id: <6.1.0.6.1.20040730022305.03d48568@popserver.sfu.ca> MIME-version: 1.0 X-Mailer: QUALCOMM Windows Eudora Version 6.1.0.6 Content-type: text/plain; charset=us-ascii References: <20040730065638.GE36338@ip.net.ua> <200407301117.32470.max@love2party.net> cc: freebsd-hackers@freebsd.org cc: Warner Losh Subject: Re: How to clean out old files after 'make world'? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jul 2004 09:56:04 -0000 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