summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-27 16:59:37 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-31 21:11:44 +0100
commitc3be61e204646bb4a71675e08dbfc8861ff178a3 (patch)
treefd1d36d8dbc6f3cef2943c36e50392f226d3c34d
parent490753f4400222d19e83412294b75f3cda94942a (diff)
downloadpoky-c3be61e204646bb4a71675e08dbfc8861ff178a3.tar.gz
useradd: Ensure dependencies are only added for target recipes, not native or nativesdk
(From OE-Core rev: 63d006b2d3fc2223c74f81b91f70f5c841108c80) (From OE-Core rev: d6c43fdc815347a0adfee590da56f8b332540da6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/useradd.bbclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
index 986453a68a..74ae7d5152 100644
--- a/meta/classes/useradd.bbclass
+++ b/meta/classes/useradd.bbclass
@@ -111,7 +111,10 @@ SYSROOTPOSTFUNC = "useradd_sysroot_sstate"
111SYSROOTPOSTFUNC_virtclass-native = "" 111SYSROOTPOSTFUNC_virtclass-native = ""
112SYSROOTPOSTFUNC_virtclass-nativesdk = "" 112SYSROOTPOSTFUNC_virtclass-nativesdk = ""
113 113
114do_package_setscene[depends] = "base-passwd:do_populate_sysroot_setscene shadow-native:do_populate_sysroot_setscene shadow-sysroot:do_populate_sysroot_setscene" 114USERADDSETSCENEDEPS = "base-passwd:do_populate_sysroot_setscene shadow-native:do_populate_sysroot_setscene shadow-sysroot:do_populate_sysroot_setscene
115USERADDSETSCENEDEPS_virtclass-native = ""
116USERADDSETSCENEDEPS_virtclass-nativesdk = ""
117do_package_setscene[depends] = "${USERADDSETSCENEDEPS}"
115 118
116# Recipe parse-time sanity checks 119# Recipe parse-time sanity checks
117def update_useradd_after_parse(d): 120def update_useradd_after_parse(d):