From owner-freebsd-questions@FreeBSD.ORG Tue Jun 15 12:37:36 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 2481416A4CE for ; Tue, 15 Jun 2004 12:37:36 +0000 (GMT) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id A30E343D5A for ; Tue, 15 Jun 2004 12:37:33 +0000 (GMT) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (localhost [127.0.0.1]) by fw.farid-hajji.net (Postfix) with ESMTP id 6C18340829 for ; Tue, 15 Jun 2004 14:36:32 +0200 (CEST) From: Cordula's Web To: freebsd-questions@freebsd.org In-reply-to: <44r7sh8153.fsf@be-well.ilk.org> (message from Lowell Gilbert on 15 Jun 2004 08:19:04 -0400) X-Mailer: Emacs-21.3.1/FreeBSD-4.10-BETA References: <20040614165606.7F81D4082B@fw.farid-hajji.net> <44r7sh8153.fsf@be-well.ilk.org> Message-Id: <20040615123632.6C18340829@fw.farid-hajji.net> Date: Tue, 15 Jun 2004 14:36:32 +0200 (CEST) Subject: Re: Compiling only the base system? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: cpghost@cordula.ws List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jun 2004 12:37:36 -0000 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... Thanks, -cpghost. -- Cordula's Web. http://www.cordula.ws/