On 2013-08-08 11:29, Robert Berger wrote:
Hi,

On 08/08/2013 06:23 PM, Gary Thomas wrote:

How you do this?

Do you use some magic build setting for this or a symlink to the nfs?


I used the standard setup script, like this:
   % . /local/poky/oe-init-build-env /MY_NFS_VOLUME/build_dir

This will create a build tree on MY_NFS_VOLUME named 'build_dir'.  Then
I adjusted /MY_NFS_VOLUME/build_dir/conf/local.conf as needed and ran
bitbake...

Note: I NEVER build inside of my Poky/Yocto tree - always in a separate
build directory and quite often on a separate file system.


I just tried this and with Ubuntu 12.04.2 LTS it does __NOT__ work (as
expected). I'm really surprised that you can have
/MY_NFS_VOLUME/build_dir due to the fact that there are hard links
required between the /MY_NFS_VOLUME/build_dir and where your host Linux
rootfs resides.

So either we have a different NFS setup or cp -al behaves differently.

Do you happen to have an Ubuntu build machine to test? I'm currently on
the road so it's a bit tricky for me to try with Fedora.

I'm trying this now with my Ubuntu 12.04 laptop and the same NFS server.
Looks like it's working just fine, it's already made it through the first
phase of a fresh build (building all the necessary 'native' tools), so I
think it will work as expected (it's way past where you had problems).
I'll let it complete and report back if there were any problems.

n.b. building this way is glacially slow :-(

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to