diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-21 10:44:43 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-21 15:33:07 +0000 |
commit | 01218e29f963120c77885964702198d9bce77e11 (patch) | |
tree | 426b841c1df9ee4d755e87fbd183504129ff1bc3 /meta/conf | |
parent | 42c445bc04afe19413b2d89719400ef1f1bbf9c9 (diff) | |
download | poky-01218e29f963120c77885964702198d9bce77e11.tar.gz |
bitbake.conf/sstate.bbclass: Change PATH when installing sstate files to avoid issues
This resolves issues related to pigz-native when installing from sstate that people
have been seeing. It also gives us a way to solve issues like the gzip-native race
during sstate package creation covered in Yocto #1774.
(From OE-Core rev: 518dffe20178f5969dddccb17d6ab347afb72beb)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/bitbake.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 17d2f265de..07982d783d 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -401,6 +401,7 @@ EXTRA_IMAGEDEPENDS = "" | |||
401 | # Toolchain info. | 401 | # Toolchain info. |
402 | ################################################################## | 402 | ################################################################## |
403 | 403 | ||
404 | ORIGPATH := "${PATH}" | ||
404 | PATH_prepend = "${STAGING_BINDIR_TOOLCHAIN}:${STAGING_BINDIR_CROSS}:${STAGING_DIR_NATIVE}${sbindir_native}:${STAGING_BINDIR_NATIVE}:${STAGING_DIR_NATIVE}${base_sbindir_native}:${STAGING_DIR_NATIVE}/${base_bindir_native}:" | 405 | PATH_prepend = "${STAGING_BINDIR_TOOLCHAIN}:${STAGING_BINDIR_CROSS}:${STAGING_DIR_NATIVE}${sbindir_native}:${STAGING_BINDIR_NATIVE}:${STAGING_DIR_NATIVE}${base_sbindir_native}:${STAGING_DIR_NATIVE}/${base_bindir_native}:" |
405 | export PATH | 406 | export PATH |
406 | 407 | ||