summaryrefslogtreecommitdiffstats
path: root/meta/classes
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-01-27 16:59:56 +0000
commitb719d7e10bdb5bb4fc9ef70256eb93f925fbda4b (patch)
tree3cf03fabe204a6a5dd35f22f972fe932da76e8c4 /meta/classes
parentdf823d5958e440daa04b3887e084be2ed91e09a1 (diff)
downloadpoky-b719d7e10bdb5bb4fc9ef70256eb93f925fbda4b.tar.gz
useradd: Ensure dependencies are only added for target recipes, not native or nativesdk
(From OE-Core rev: 63d006b2d3fc2223c74f81b91f70f5c841108c80) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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 9677fe20c3..f935028927 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):