diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-27 16:59:37 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-27 16:59:56 +0000 |
commit | b719d7e10bdb5bb4fc9ef70256eb93f925fbda4b (patch) | |
tree | 3cf03fabe204a6a5dd35f22f972fe932da76e8c4 /meta/classes/useradd.bbclass | |
parent | df823d5958e440daa04b3887e084be2ed91e09a1 (diff) | |
download | poky-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/useradd.bbclass')
-rw-r--r-- | meta/classes/useradd.bbclass | 5 |
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" | |||
111 | SYSROOTPOSTFUNC_virtclass-native = "" | 111 | SYSROOTPOSTFUNC_virtclass-native = "" |
112 | SYSROOTPOSTFUNC_virtclass-nativesdk = "" | 112 | SYSROOTPOSTFUNC_virtclass-nativesdk = "" |
113 | 113 | ||
114 | do_package_setscene[depends] = "base-passwd:do_populate_sysroot_setscene shadow-native:do_populate_sysroot_setscene shadow-sysroot:do_populate_sysroot_setscene" | 114 | USERADDSETSCENEDEPS = "base-passwd:do_populate_sysroot_setscene shadow-native:do_populate_sysroot_setscene shadow-sysroot:do_populate_sysroot_setscene |
115 | USERADDSETSCENEDEPS_virtclass-native = "" | ||
116 | USERADDSETSCENEDEPS_virtclass-nativesdk = "" | ||
117 | do_package_setscene[depends] = "${USERADDSETSCENEDEPS}" | ||
115 | 118 | ||
116 | # Recipe parse-time sanity checks | 119 | # Recipe parse-time sanity checks |
117 | def update_useradd_after_parse(d): | 120 | def update_useradd_after_parse(d): |