From owner-freebsd-stable Sun Nov 3 16:52: 2 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 22E9F37B401 for ; Sun, 3 Nov 2002 16:52:01 -0800 (PST) Received: from topperwein.dyndns.org (acs-24-154-51-184.zoominternet.net [24.154.51.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 18EDB43E3B for ; Sun, 3 Nov 2002 16:52:00 -0800 (PST) (envelope-from behanna@zbzoom.net) Received: from topperwein.pennasoft.com ([192.168.168.10]) by topperwein.dyndns.org (8.12.6/8.12.5) with ESMTP id gA40psd4093099 for ; Sun, 3 Nov 2002 19:51:54 -0500 (EST) (envelope-from behanna@zbzoom.net) Date: Sun, 3 Nov 2002 19:51:49 -0500 (EST) From: Chris BeHanna Reply-To: Chris BeHanna To: FreeBSD-Stable Subject: Re: installworld from a cross-buildworld In-Reply-To: <20021103212810.GA381@server.c18609.belrs1.nsw.optusnet.com.au> Message-ID: <20021103194756.I568-100000@topperwein.pennasoft.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Mon, 4 Nov 2002, Peter Jeremy wrote: > 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? Make sure the mount points match the environment on which the build was done, then tweak using MAKEOBJDIRPREFIX?. targetbox# mount -t nfs buildbox:/home/src4 /home/src4 targetbox# mount -t nfs buildbox:/home/obj /home/obj targetbox# cd /home/src4 targetbox# env MAKEOBJDIRPREFIX=/home/obj/alpha make installworld Worst case, the mounted filesystems may need a symlink from /home/obj/alpha/home/src4 to /home/obj/alpha/usr/src to trick the build environment. -- Chris BeHanna http://www.pennasoft.com Principal Consultant PennaSoft Corporation chris@pennasoft.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message