diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-23 12:29:21 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-23 12:29:57 +0000 |
commit | bb1d7fad7ff8515939f2b5f0b540b9b09604be3c (patch) | |
tree | 07cb9219c220dab47471bc8930f2b04a4f4b4575 /meta/classes/sstate.bbclass | |
parent | d95f6d0e325681aac083a3688800b3e92e9e55a1 (diff) | |
download | ast2050-yocto-poky-bb1d7fad7ff8515939f2b5f0b540b9b09604be3c.zip ast2050-yocto-poky-bb1d7fad7ff8515939f2b5f0b540b9b09604be3c.tar.gz |
Revert "bitbake.conf/sstate.bbclass: Change PATH when installing sstate files to avoid issues"
Reluctantly revert this since it breaks the tar-native workaround we have
for old versions of tar :(
This reverts commit 01218e29f963120c77885964702198d9bce77e11.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r-- | meta/classes/sstate.bbclass | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 20e66e2..a8c98e5 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass @@ -153,12 +153,6 @@ def sstate_installpkg(ss, d): bb.mkdirhier(dir) oe.path.remove(dir) - # We're adding binaries into the sysroots, we don't want to execute them - # whilst they're half installed or being installed so we need to - # remove the sysroots from PATH - savedpath = d.getVar("PATH") - d.setVar("PATH", "${ORIGPATH}") - sstateinst = d.expand("${WORKDIR}/sstate-install-%s/" % ss['name']) sstatepkg = d.getVar('SSTATE_PKG', True) + '_' + ss['name'] + ".tgz" @@ -196,8 +190,6 @@ def sstate_installpkg(ss, d): # conflict with another writer os.remove(fixmefn) - d.setVar("PATH", savedpath) - for state in ss['dirs']: prepdir(state[1]) os.rename(sstateinst + state[0], state[1]) |