aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-26 19:13:07 +0000
committerJoshua Lock <josh@linux.intel.com>2012-05-21 22:03:24 -0700
commita9aae582a6068a946cf177ce33e54cb0aee6c6e5 (patch)
treeb2670ac34b299856df2d65677cbca6be76587450
parent6f25ede827ee469464ca2db72bf05c75fa7c11f3 (diff)
downloadopenembedded-core-a9aae582a6068a946cf177ce33e54cb0aee6c6e5.tar.gz
openembedded-core-a9aae582a6068a946cf177ce33e54cb0aee6c6e5.tar.bz2
openembedded-core-a9aae582a6068a946cf177ce33e54cb0aee6c6e5.zip
useradd.bbclass: Add explict setscene dependencies to ensure correct ordering of setscene tasks
(From OE-Core rev: ffc7bbcf0011de3f1f6e8d95f1de0b8f7164fa51) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Joshua Lock <josh@linux.intel.com>
-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 195c8cc972..986453a68a 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)