From owner-freebsd-hackers Sat Feb 2 9:21:15 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mailout05.sul.t-online.com (mailout05.sul.t-online.com [194.25.134.82]) by hub.freebsd.org (Postfix) with ESMTP id 9341C37B400 for ; Sat, 2 Feb 2002 09:21:08 -0800 (PST) Received: from fwd09.sul.t-online.de by mailout05.sul.t-online.com with smtp id 16X3qb-0003As-0B; Sat, 02 Feb 2002 18:21:05 +0100 Received: from spirit.corecode.ath.cx (320050403952-0001@[80.128.114.230]) by fmrl09.sul.t-online.com with esmtp id 16X3qW-1hGhoeC; Sat, 2 Feb 2002 18:21:00 +0100 Received: from elevation.zuhause.stoert.net (elevation.zuhause.stoert.net [192.168.66.46]) by spirit.corecode.ath.cx (8.11.6/8.11.6) with ESMTP id g12HKxg55389; Sat, 2 Feb 2002 18:20:59 +0100 (CET) (envelope-from corecode@elevation.zuhause.stoert.net) Received: (from corecode@localhost) by elevation.zuhause.stoert.net (8.11.6/8.11.6) id g12HKpo03582; Sat, 2 Feb 2002 18:20:51 +0100 (CET) (envelope-from corecode) Date: Sat, 2 Feb 2002 18:20:48 +0100 From: "Simon 'corecode' Schubert" To: "Crist J. Clark" Cc: freebsd-user@dcf77-zeit.netscum.dyndns.dk, hackers@freebsd.org Subject: Re: buildworld via ro mounted /usr/src Message-Id: <20020202182048.15d1aaaa.corecode@corecode.ath.cx> In-Reply-To: <20020201150332.A956@gohan.cjclark.org> References: <20020130170244.6f1cdf09.corecode@corecode.ath.cx> <200201310920.g0V9K1L00787@beerswilling.netscum.dyndns.dk> <20020131155234.F152@gohan.cjclark.org> <200202012154.g11Lst401366@beerswilling.netscum.dyndns.dk> <20020201150332.A956@gohan.cjclark.org> X-Mailer: Sylpheed version 0.7.0claws21 (GTK+ 1.2.10; i386--freebsd4.5) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="=.u.8(VbJbFUKkkU" X-Sender: 320050403952-0001@t-dialin.net Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=.u.8(VbJbFUKkkU Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 1 Feb 2002 15:03:32 -0800 "Crist J. Clark" wrote: > > The build procedure should be done as usual -- > > # make (env variables if not given in /etc/make.conf) -j4 buildworld > > # make KERNCONF=FreeBEER KERNCONFDIR=/usr/local/etc/conf -j4 > > buildkernel# make KERNCONF=FreeBEER KERNCONFDIR=/usr/local/etc/conf > > installkernel and so on... > > No, I was confused. I thought we were discussing how to do an "old > fashioned" kernel build in a read-only /usr/src/sys. thanks for your replies ;] actually the main problem was make needing MAKEOBJDIRPREFIX set as env var. perhaps there is a way to specify something like WRKDIRPREFIX (ports') for bsd.obj.mk. after setting MAKEOBJDIRPREFIX to the right path and really cleaning /usr/src i was able to build world + kernel on a readonly /usr/src. though i needed to do env MAKEOBJDIRPREFIX=/usr/obj/i386/k7 make buildworld -j4 .... builds bootstrap tools, somewhere bails out on a rm i think. env MAKEOBJDIRPREFIX=/usr/obj/i386/k7 make buildworld -j4 -DNOCLEAN .... then works as desired. env MAKEOBJDIRPREFIX=/usr/obj/i386/k7 make buildkernel -j4 .... works right out-of-the-box. cheerz corecode -- /"\ http://corecode.ath.cx/ \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News --=.u.8(VbJbFUKkkU Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) iD8DBQE8XB/yr5S+dk6z85oRAr+7AJwOZfrzK9UYsSY4qHUQBktpQWwVKgCgjSxA AQz38F/SU9UsxBampusUp4w= =TLJf -----END PGP SIGNATURE----- --=.u.8(VbJbFUKkkU-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message