Re: Small /etc/src.conf

From: Rob Farmer <rfarmer_at_predatorlabs.net>
Date: Sat, 23 Oct 2010 14:21:41 -0700
On Sat, Oct 23, 2010 at 13:40, Sean Bruno <seanbru_at_yahoo-inc.com> wrote:
> Anyone have a src.conf + make.conf that I can steal to build a small
> installation of BSD?  I've been trying to shrink the installation so I
> can cram an ISO of BSD across the network into a remote installation
> thing in an HP box.

Have you checked this:
http://phk.freebsd.dk/misc/build_options/

I'm not sure exactly what you're looking for, but in my experience (I
care more about build time than size though, and still want a fairly
functional system) these are the most important variables to set:

NO_MODULES (stick everything in the kernel - tons of stuff is built
twice, like ufs support)
WITHOUT_PROFILE
WITHOUT_LIB32
WITHOUT_CLANG
WITHOUT_KERBEROS
WITHOUT_CDDL

Some of the options involving src/share like WITHOUT_LOCALES seem to
kill a lot of files too.

Everything else either just skips a couple files (of course, that can
add up) or starts to cut into basic functionality (like no man pages),
IMHO.

-- 
Rob Farmer
Received on Sat Oct 23 2010 - 19:21:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:08 UTC