From owner-freebsd-questions@FreeBSD.ORG Tue Jun 15 13:03:28 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6599E16A4CE for ; Tue, 15 Jun 2004 13:03:28 +0000 (GMT) Received: from ei.bzerk.org (ei.xs4all.nl [213.84.67.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7A2843D53 for ; Tue, 15 Jun 2004 13:03:26 +0000 (GMT) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.12.10/8.12.10) with ESMTP id i5FD5edL009172; Tue, 15 Jun 2004 15:05:40 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.12.10/8.12.10/Submit) id i5FD5ehJ009171; Tue, 15 Jun 2004 15:05:40 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Tue, 15 Jun 2004 15:05:40 +0200 From: Ruben de Groot To: "Cordula's Web" Message-ID: <20040615130540.GA9142@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Cordula's Web , freebsd-questions@freebsd.org References: <20040614165606.7F81D4082B@fw.farid-hajji.net> <44r7sh8153.fsf@be-well.ilk.org> <20040615123632.6C18340829@fw.farid-hajji.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040615123632.6C18340829@fw.farid-hajji.net> User-Agent: Mutt/1.4.2.1i X-Spam-Status: No, hits=0.9 required=5.0 tests=FROM_ENDS_IN_NUMS autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on ei.bzerk.org cc: freebsd-questions@freebsd.org Subject: Re: Compiling only the base system? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jun 2004 13:03:28 -0000 On Tue, Jun 15, 2004 at 02:36:32PM +0200, Cordula's Web typed: > 15 Jun 2004 08:19:04 -0400, Lowell Gilbert wrote: > > > > how can I compile just the base system (sysinstall's minimal install) > > > from CURRENT sources in /usr/src into DESTDIR=/some/nonstandard/path? > > > > > > I don't need the complete system, just the stuff that is normally > > > available under /cdrom/base on a RELEASE CD (packed) or, if that is > > > too hard, the unpacked files. > > > > I'm having trouble understanding the goal here. > > In what way does "make world" not fit the bill? > > >From /usr/obj, I need only the set of files that are part of the > minimal base system. This minimal system is then net-installed > onto embedded devices with severely limited CF/Disk space. > > So I need a way to turn a subset of the contents of /usr/obj > (on a host system) into the set of files that constitute the > base system as available on the RELEASE CDs. These files will > then be fetched via NFS by the embedded devices' sysinstall. > > There is certainly some magic in .mk files to do this. I'm just > too blind to find it... If you're running -current, check the /usr/src/tools/tools/nanobsd directory. There's also some discussion on this in the archives. Ruben > Thanks, > -cpghost. > > -- > Cordula's Web. http://www.cordula.ws/ > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"