From owner-freebsd-current@FreeBSD.ORG Sat Oct 23 21:21:43 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 520341065670 for ; Sat, 23 Oct 2010 21:21:43 +0000 (UTC) (envelope-from rfarmer@predatorlabs.net) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 05D218FC2B for ; Sat, 23 Oct 2010 21:21:42 +0000 (UTC) Received: by gwaa18 with SMTP id a18so994455gwa.13 for ; Sat, 23 Oct 2010 14:21:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.151.113.15 with SMTP id q15mr9292986ybm.203.1287868902058; Sat, 23 Oct 2010 14:21:42 -0700 (PDT) Received: by 10.220.202.77 with HTTP; Sat, 23 Oct 2010 14:21:41 -0700 (PDT) X-Originating-IP: [128.95.133.19] In-Reply-To: <1287866401.2580.5.camel@home-yahoo> References: <1287866401.2580.5.camel@home-yahoo> Date: Sat, 23 Oct 2010 14:21:41 -0700 Message-ID: From: Rob Farmer To: sbruno@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current Subject: Re: Small /etc/src.conf X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Oct 2010 21:21:43 -0000 On Sat, Oct 23, 2010 at 13:40, Sean Bruno 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