Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Oct 2010 14:21:41 -0700
From:      Rob Farmer <rfarmer@predatorlabs.net>
To:        sbruno@freebsd.org
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: Small /etc/src.conf
Message-ID:  <AANLkTim7vr%2B6F7=9TX15sojn25HZMEw8PG2U48BCcrjT@mail.gmail.com>
In-Reply-To: <1287866401.2580.5.camel@home-yahoo>
References:  <1287866401.2580.5.camel@home-yahoo>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 23, 2010 at 13:40, Sean Bruno <seanbru@yahoo-inc.com> wrote:
> Anyone have a src.conf + make.conf that I can steal to build a small
> installation of BSD? =A0I'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.

--=20
Rob Farmer



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTim7vr%2B6F7=9TX15sojn25HZMEw8PG2U48BCcrjT>