Date: Tue, 15 Jun 2004 15:05:40 +0200 From: Ruben de Groot <mail25@bzerk.org> To: "Cordula's Web" <cpghost@cordula.ws> Cc: freebsd-questions@freebsd.org Subject: Re: Compiling only the base system? Message-ID: <20040615130540.GA9142@ei.bzerk.org> In-Reply-To: <20040615123632.6C18340829@fw.farid-hajji.net> References: <20040614165606.7F81D4082B@fw.farid-hajji.net> <44r7sh8153.fsf@be-well.ilk.org> <20040615123632.6C18340829@fw.farid-hajji.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040615130540.GA9142>