summaryrefslogtreecommitdiff
path: root/meta/classes/useradd.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-26 19:13:07 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-27 09:42:37 +0000
commitffc7bbcf0011de3f1f6e8d95f1de0b8f7164fa51 (patch)
tree86202fd68889b436261bdadf0f700b06400aad0f /meta/classes/useradd.bbclass
parent76345cd61c9523ce6755ef8e923dec37800b7a98 (diff)
downloadopenembedded-core-ffc7bbcf0011de3f1f6e8d95f1de0b8f7164fa51.tar.gz
openembedded-core-ffc7bbcf0011de3f1f6e8d95f1de0b8f7164fa51.tar.bz2
openembedded-core-ffc7bbcf0011de3f1f6e8d95f1de0b8f7164fa51.tar.xz
openembedded-core-ffc7bbcf0011de3f1f6e8d95f1de0b8f7164fa51.zip
useradd.bbclass: Add explict setscene dependencies to ensure correct ordering of setscene tasks
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/useradd.bbclass')
-rw-r--r--meta/classes/useradd.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
index 6ee575e4c..9677fe20c 100644
--- a/meta/classes/useradd.bbclass
+++ b/meta/classes/useradd.bbclass
@@ -111,6 +111,8 @@ SYSROOTPOSTFUNC = "useradd_sysroot_sstate"
SYSROOTPOSTFUNC_virtclass-native = ""
SYSROOTPOSTFUNC_virtclass-nativesdk = ""
+do_package_setscene[depends] = "base-passwd:do_populate_sysroot_setscene shadow-native:do_populate_sysroot_setscene shadow-sysroot:do_populate_sysroot_setscene"
+
# Recipe parse-time sanity checks
def update_useradd_after_parse(d):
useradd_packages = d.getVar('USERADD_PACKAGES', True)