[yocto] pseudo interaction issue
Richard Purdie
richard.purdie at linuxfoundation.org
Sat Mar 24 10:41:43 PDT 2012
On Sat, 2012-03-24 at 17:15 +0000, Richard Purdie wrote:
> What puzzles me is we get this value from envbackup[key] =
> os.environ.get("PSEUDO_PREFIX") so its already not in the environment.
>
> So basically if we read "PSEUDO_PREFIX" from the environment we get
> nothing. If we unset the value back to being "nothing", things break.
>
> This would imply we have some other issue going on here somewhere...
I've discovered that if I add:
os.environ["PSEUDO_PREFIX"] = "/media/build1/poky/build/tmp/sysroots/x86_64-linux/usr"
os.environ["PSEUDO_LOCALSTATEDIR"] = "/media/build1/poky/build/tmp/work/i586-poky-linux/bzip2-1.0.6-r5/pseudo/"
del os.environ["PSEUDO_PREFIX"]
del os.environ["PSEUDO_LOCALSTATEDIR"]
to the top of fork_off_task(), then "bitbake bzip2 -c compile -f" will
start to fail with the pseudo error like the install/package case.
One or the other of the above on their own doesn't do this. Funky.
Cheers,
Richard
More information about the yocto
mailing list