diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-07 10:11:22 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-07 17:51:13 +0100 |
commit | 0810ea2a72bdea67a3d8002c4e12fb20f45cf1d5 (patch) | |
tree | d9e53383cbec4ba7c298ea88b893f0b29bb49899 /meta/classes/base.bbclass | |
parent | ecdccd0c19c1d27aee43a3cca8e4467f270d7f9c (diff) | |
download | openembedded-core-0810ea2a72bdea67a3d8002c4e12fb20f45cf1d5.tar.gz openembedded-core-0810ea2a72bdea67a3d8002c4e12fb20f45cf1d5.tar.bz2 openembedded-core-0810ea2a72bdea67a3d8002c4e12fb20f45cf1d5.zip |
base/useradd/sstate: Ensure do_package setscene has correct fakeroot dependencies
The do_package_setscene task needs to depend on fakeroot in order to correctly
install its files.
We can whitelist the dependency in the sstate handling code for some
performance improvements since we only need this if we're installing the
package from sstate.
Also use an append operator in base.bbclass for clarity.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index b1642a209f..8af104f765 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -501,6 +501,7 @@ python () { d.setVarFlag('do_package', 'fakeroot', 1) d.setVarFlag('do_package', 'umask', 022) d.setVarFlag('do_package_setscene', 'fakeroot', 1) + d.appendVarFlag('do_package_setscene', 'depends', ' virtual/fakeroot-native:do_populate_sysroot') d.setVarFlag('do_devshell', 'fakeroot', 1) d.appendVarFlag('do_devshell', 'depends', ' virtual/fakeroot-native:do_populate_sysroot') source_mirror_fetch = d.getVar('SOURCE_MIRROR_FETCH', 0) |