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/sstate.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/sstate.bbclass')
-rw-r--r-- | meta/classes/sstate.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 950be5586d..e74c642aee 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass @@ -711,7 +711,7 @@ def setscene_depvalid(task, taskdependees, notneeded, d): # This is due to the [depends] in useradd.bbclass complicating matters # The logic *is* reversed here due to the way hard setscene dependencies are injected - if taskdependees[task][1] == 'do_package' and taskdependees[dep][0].endswith(('shadow-native', 'shadow-sysroot', 'base-passwd')) and taskdependees[dep][1] == 'do_populate_sysroot': + if taskdependees[task][1] == 'do_package' and taskdependees[dep][0].endswith(('shadow-native', 'shadow-sysroot', 'base-passwd', 'pseudo-native')) and taskdependees[dep][1] == 'do_populate_sysroot': continue # Safe fallthrough default |