Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2003 01:56:51 -0800
From:      Jens Haeusser <jens@zoology.ubc.ca>
To:        freebsd-questions@freebsd.org
Subject:   Installing Stripped System
Message-ID:  <BA54FC63.6423%jens@zoology.ubc.ca>

next in thread | raw e-mail | index | archive | help
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.

Jens Haeusser
Network Manager
Zoology, UBC


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BA54FC63.6423%jens>