]> code.ossystems Code Review - openembedded-core.git/commit
devshell: Don't corrupt the fakeroot variables
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Sep 2013 15:17:27 +0000 (16:17 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Sep 2013 22:01:50 +0000 (23:01 +0100)
commit56baf177cdf074929a090cc66a8b89d346a5d79c
treef33ebc1b22d3c0d5fd00d54eae2fcd43a7efb7a5
parent882da38f226acc40c041155218549edad461b7d7
devshell: Don't corrupt the fakeroot variables

The devshell anonymous python fragment overwrites variables in the
datastore with their expanded versions. If this runs before the code
in allarch.bbclass which changes TARGET_OS, we can end up with different
directories in the fakeroot environment variables, some expanded with
the original TARGET_OS value.

The devshell code only needs to run before the task itself so we change
to trigger it to run at task execution time only using a flag.

[YOCTO #4795]

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