]> code.ossystems Code Review - openembedded-core.git/commit
utils.bbclass: Testing via env in create_wrapper is a nice idea but breaks things
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Apr 2012 21:52:10 +0000 (21:52 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Apr 2012 14:51:37 +0000 (15:51 +0100)
commit1efa999ed02186c9c58cb48418e0c62ecdc82ac7
tree08c7ba2af736ea67107eb9336444b84af819615a
parent7298e0c48198587d41319d0068aa3511afa6d1c5
utils.bbclass: Testing via env in create_wrapper is a nice idea but breaks things

For example, pseudo-native wants to set LD_LIBRBARY_PATH but setting this
into the environment here causes the existing pseudo (running during do_install)
to poke into paths in /opt and this breaks builds.

The simplest fix is simply not to do this. Comments tweaks to match the code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/utils.bbclass