From owner-freebsd-stable Sun Nov 3 14: 5:32 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 46DE337B401 for ; Sun, 3 Nov 2002 14:05:31 -0800 (PST) Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id D8B5443E42 for ; Sun, 3 Nov 2002 14:05:29 -0800 (PST) (envelope-from jake@k6.locore.ca) Received: from k6.locore.ca (jake@localhost.locore.ca [127.0.0.1]) by k6.locore.ca (8.12.5/8.12.5) with ESMTP id gA3MJkbd050152; Sun, 3 Nov 2002 17:19:46 -0500 (EST) (envelope-from jake@k6.locore.ca) Received: (from jake@localhost) by k6.locore.ca (8.12.5/8.12.5/Submit) id gA3MJksI050151; Sun, 3 Nov 2002 17:19:46 -0500 (EST) Date: Sun, 3 Nov 2002 17:19:46 -0500 From: Jake Burkholder To: Peter Jeremy Cc: freebsd-stable@FreeBSD.ORG Subject: Re: installworld from a cross-buildworld Message-ID: <20021103171945.M22677@locore.ca> References: <20021103212810.GA381@server.c18609.belrs1.nsw.optusnet.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20021103212810.GA381@server.c18609.belrs1.nsw.optusnet.com.au>; from peterjeremy@optushome.com.au on Mon, Nov 04, 2002 at 08:28:10AM +1100 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Apparently, On Mon, Nov 04, 2002 at 08:28:10AM +1100, Peter Jeremy said words to the effect of; > I have a fast x86 machine and a slow Alpha so I'd like to be able to > do the Alpha buildworlds on the x86 and then install via NFS. > > make TARGET_ARCH=alpha buildworld > works, and I can successfully mount /usr/src (actually /home/src4) > and /usr/obj/alpha (actually /home/obj/alpha) onto the Alpha. But > the installworld fails because there's no /usr/obj/home/src4/alpha > tree (built as /home/obj/alpha/home/src4/alpha ). > > Any suggestions? The only way I've found to do this is to nfs mount the filesystems of the target machine on the build machine and do the installworld with DESTDIR=/path/to/nfs/mount. ie: make buildworld TARGET_ARCH=sparc64 mount sparc64:/ /mnt (etc) make installworld TARGET_ARCH=sparc64 DESTDIR=/mnt You really don't want to forget to set DESTDIR when doing this. Jake To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message