diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-27 16:59:37 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-31 21:11:44 +0100 |
commit | c3be61e204646bb4a71675e08dbfc8861ff178a3 (patch) | |
tree | fd1d36d8dbc6f3cef2943c36e50392f226d3c34d /meta | |
parent | 490753f4400222d19e83412294b75f3cda94942a (diff) | |
download | poky-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>
Diffstat (limited to 'meta')
-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 986453a68a..74ae7d5152 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): |