From owner-freebsd-questions Thu Jan 23 8:38:36 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E07D037B401 for ; Thu, 23 Jan 2003 08:38:34 -0800 (PST) Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 80EC943F1E for ; Thu, 23 Jan 2003 08:38:34 -0800 (PST) (envelope-from fearow@attbi.com) Received: from god.woofcat.com (12-251-110-17.client.attbi.com[12.251.110.17]) by rwcrmhc51.attbi.com (rwcrmhc51) with SMTP id <2003012316383305100pnt0he>; Thu, 23 Jan 2003 16:38:33 +0000 Date: Thu, 23 Jan 2003 10:38:31 -0600 From: Anti To: freebsd-questions@freebsd.org Subject: Re: Installing Stripped System Message-Id: <20030123103831.13dedd44.fearow@attbi.com> In-Reply-To: References: Organization: Woofcat X-Mailer: Sylpheed version 0.8.8 (GTK+ 1.2.10; i386-portbld-freebsd5.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 23 Jan 2003 01:56:51 -0800 Jens Haeusser wrote: > I'd like to install a system lacking some of the binaries you can specify as > make.conf knobs, such as > > NO_I4B= true > NO_IPFILTER= true > NOGAMES= true > NOUUCP= true > NO_SENDMAIL= true > > Even when I install a minimal system from an install CD (just bin), and then > cvsup and make world with the above in /etc/make.conf , the original binary > files are still around. I can remove them manually by going into the various > directories (/bin, /sbin, /usr/bin, /usr/sbin, /usr/libexec) and removing > any files older than my installworld date, but that still leaves crud in > /usr/share, etc. > > Is there a better way to either do a stripped install, or to remove the > files programmatically? Using a simple command like "find / \! -mtime 1 > -print" also finds files in /usr/include, /usr/share/man, etc. that I don't > want to remove. install into a different DESTDIR and use diff to find the differences... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message