From owner-freebsd-current@FreeBSD.ORG Sat Oct 23 22:03:53 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 7C95C106566B; Sat, 23 Oct 2010 22:03:53 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 1AE4B8FC18; Sat, 23 Oct 2010 22:03:53 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 3C296E7F63; Sat, 23 Oct 2010 23:03:52 +0100 (BST) Received: from unknown (client-81-107-142-135.midd.adsl.virginmedia.com [81.107.142.135]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Sat, 23 Oct 2010 23:03:51 +0100 (BST) Date: Sat, 23 Oct 2010 23:03:48 +0100 From: Bruce Cran To: sbruno@freebsd.org Message-ID: <20101023230348.00004aa3@unknown> In-Reply-To: <1287866401.2580.5.camel@home-yahoo> References: <1287866401.2580.5.camel@home-yahoo> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-current , seanbru@yahoo-inc.com 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 22:03:53 -0000 On Sat, 23 Oct 2010 13:40:01 -0700 Sean Bruno 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. The following might be useful on a small system to speed up build times and reduce the ISO size on a UFS only system where IPFW is used for firewalling: In /etc/src.conf: MODULES_OVERRIDE=md ipfw libalias WITHOUT_GPIB=yes WITHOUT_INFO=yes WITHOUT_ATM=yes WITHOUT_BLUETOOTH=yes WITHOUT_GAMES=yes WITHOUT_IPFILTER=yes WITHOUT_IPX=yes WITHOUT_NCP=yes WITHOUT_NDIS=yes WITHOUT_PF=yes WITHOUT_PPP=yes WITHOUT_PROFILE=yes WITHOUT_WIRELESS=yes # No wireless cards WITHOUT_WPA_SUPPLICANT_EAPOL=yes WITHOUT_ZFS=yes # UFS only system In make.conf you might want to set WITH_X11/WITHOUT_X11 so that for example editors/vim doesn't pull in X11. I also set DISTDIR and WRKDIRPREFIX to directories under my homedir so I can build ports as an unprivileged user. -- Bruce Cran