From owner-freebsd-ppc@FreeBSD.ORG Mon Mar 23 21:24:18 2009 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E0791065674 for ; Mon, 23 Mar 2009 21:24:18 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id 2A3428FC1A for ; Mon, 23 Mar 2009 21:24:17 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from wolfram.andreas.nets ([91.190.8.131]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id n2NLOE9A021439; Mon, 23 Mar 2009 22:24:15 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <49C7FDFE.8010003@fgznet.ch> Date: Mon, 23 Mar 2009 22:24:14 +0100 From: Andreas Tobler User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Marcel Moolenaar References: <49BC1626.70106@fgznet.ch> <59998CAE-B90C-4038-A6C8-52C3EB35987E@mac.com> <49BD4F88.9060305@fgznet.ch> In-Reply-To: <49BD4F88.9060305@fgznet.ch> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: FreeBSD PowerPC ML Subject: Re: cross build world on amd64 install on ppc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2009 21:24:18 -0000 Replying to /dev/null Andreas Tobler wrote: > Marcel Moolenaar wrote: >> On Mar 14, 2009, at 1:40 PM, Andreas Tobler wrote: >>> I have taken the approach to nfs export the /usr/src and the /usr/obj >>> from the amd64 to the powerpc machine. >> >> You can NFS export DESTDIR and mount that on your powerpc >> machine. > > I'll try that later. Done that now. See below. [snip] >> I think the easiest approach is to do an installworld on >> your amd64 and mount that on your powerpc machine. You >> can use rsync to sync your powerpc /. Alternatives are >> tar, cp -R, etc... > > Yes, another possibility. > I do not have an urgent need to have a newly built world on my ppc. I'm > just playing. The above advise seems to be the 'cheapest' one. And also the one which serves with best success rates :) >> It would be great if we can improve the process so that >> you can build on machine X and install on machine Y, by >> sharing usr and obj trees. > > That would be great. I'll continue playing. I exercised the above on sparc64 and built and installed a cross world/kernel, exported the install directory via nfs and did the rsync job. Great!! This worked fine. Thank you Marcel for the hint! Regards, Andreas