From owner-freebsd-current@FreeBSD.ORG Mon Mar 30 11:11:52 2009 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 D5A5C10657D6 for ; Mon, 30 Mar 2009 11:11:52 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 777CB8FC0C for ; Mon, 30 Mar 2009 11:11:52 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (pD9E2E42A.dip.t-dialin.net [217.226.228.42]) by redbull.bpaserver.net (Postfix) with ESMTP id 7DF7F2E0BC; Mon, 30 Mar 2009 13:11:48 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 041EFB159D; Mon, 30 Mar 2009 13:11:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=Leidinger.net; s=outgoing-alex; t=1238411505; bh=AEXuMqodg0YqEeDDgxT1FccOFg5U92fcT c4Fz2J+j2Y=; h=Message-ID:Date:From:To:Cc:Subject:References: In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=KDGnyYNPhjDMBaGVoATCHQId4EmZ44gFCKfiygWxh7VTtMUk8ioofy+wwn9fbVdOY VG9+4XjyZXYjAZlq1KBlvjfma6WysTUlvOEsyL0ECE281DsXLfvmXjpWEBZJQjM7XDm VJwm1AOF15xrh6dBvb55PRu6dJvKVqAZFwO5hm1JrW00KWEBZQpSLoe/JTzzyt1uJo+ ZOzOvhpA6M9IFxndsA2xNnZ+/Wgg8E+peuzRPp7Es2WqMZLi2yBbyIlF2C4/sMz6rrL aYn2IMNgKBBTL8CHHV3LuHMfM/dUxdrU/yqGYxoeeEoPvsTNQ/UAvjxv4nKDl3hGNkJ 1qNVaWD5w== Received: (from www@localhost) by webmail.leidinger.net (8.14.3/8.13.8/Submit) id n2UBBiX5045733; Mon, 30 Mar 2009 13:11:44 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Mon, 30 Mar 2009 13:11:43 +0200 Message-ID: <20090330131143.47127dgnexe52iw4@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Mon, 30 Mar 2009 13:11:43 +0200 From: Alexander Leidinger To: Matthias Apitz References: <20090330074502.GA4247@rebelion.Sisis.de> In-Reply-To: <20090330074502.GA4247@rebelion.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.3) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: 7DF7F2E0BC.17049 X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.823, required 6, BAYES_00 -15.00, DKIM_SIGNED 0.00, DKIM_VERIFIED -0.00, RDNS_DYNAMIC 0.10, TW_XP 0.08) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-current@freebsd.org Subject: Re: make installworld DESTDIR=/mnt fails 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: Mon, 30 Mar 2009 11:12:05 -0000 Quoting Matthias Apitz (from Mon, 30 Mar 2009 =20 09:45:02 +0200): > > > Hello, > > I have created a boot-able USB key with -CURRENT from CVS following > this recipe: > > # mkdir -p /usr/src/myHEAD/obj > # cd /usr/src/myHEAD > # cvs checkout src > # setenv MAKEOBJDIRPREFIX /usr/src/myHEAD/obj > # cd /usr/src/myHEAD/src > # make buildworld > I've enriched this USB key with the actual source tree and the compiled > objects: > > # cd /usr/src/ > # tar -cf - myHEAD | ( cd /mnt ; tar -xpf - ) > > now I wanted to install based on this booted CURRENT another > PC, its empty disk is mounted below /mnt; the installation fails > as shown below; > > what is the reason for this? > # setenv MAKEOBJDIRPREFIX /myHEAD/obj > # cd /myHEAD/src You need to mv /myHEAD /usr/src/myHEAD setenv MAKEOBJDIRPREFIX /usr/src/myHEAD/obj and it should work. The realpath of the src dir is used when creating the obj tree. If =20 you look at myHEAD/obj/, you will see that there's an usr/src/myHEAD. =20 Alternatively it should work to mv /myHEAD/obj/usr/src/myHEAD to =20 /myHEAD/obj/, but I types this part out of my head without looking at =20 a real obj tree, so there could be something missing. Bye, Alexander. --=20 Democracy is the recurrent suspicion that more than half of the people are right more than half of the time. =09=09-- E. B. White http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137