From b719d7e10bdb5bb4fc9ef70256eb93f925fbda4b Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 27 Jan 2012 16:59:37 +0000 Subject: useradd: Ensure dependencies are only added for target recipes, not native or nativesdk (From OE-Core rev: 63d006b2d3fc2223c74f81b91f70f5c841108c80) Signed-off-by: Richard Purdie --- meta/classes/useradd.bbclass | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'meta/classes/useradd.bbclass') 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" 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" +USERADDSETSCENEDEPS = "base-passwd:do_populate_sysroot_setscene shadow-native:do_populate_sysroot_setscene shadow-sysroot:do_populate_sysroot_setscene +USERADDSETSCENEDEPS_virtclass-native = "" +USERADDSETSCENEDEPS_virtclass-nativesdk = "" +do_package_setscene[depends] = "${USERADDSETSCENEDEPS}" # Recipe parse-time sanity checks def update_useradd_after_parse(d): -- cgit v1.2.3-54-g00ecf