summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-16 14:52:19 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-17 10:56:26 +0100
commit219a855f99bc45fd273f62df9507be7223eff1b4 (patch)
treea129169f3e9b00333fcd92594b0880beb914668e
parent36a31b02e341b684fe89f085c06f766edde9ad06 (diff)
downloadpoky-219a855f99bc45fd273f62df9507be7223eff1b4.tar.gz
useradd.bbclass: Fix for multilib builds
The class adds a setscene dependency on base-passwd as well as adds this to DEPENDS. The DEPENDS version will be auso-converted to include MLPREFIX whilst the setscene dependency will not. This result in errors about non-existent tasks. This patch ensures MLPREFIX is added when it is needed and fixes various build failures. Whether we should have two base-passwd recipes in a multilib system is a question which would need to be addressed by future changes. (From OE-Core rev: 22dff7f36e985f9f7275b47e874147bc7bdc9473) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/useradd.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
index 0ed91ad2c6..6ae5e48420 100644
--- a/meta/classes/useradd.bbclass
+++ b/meta/classes/useradd.bbclass
@@ -146,7 +146,7 @@ SYSROOTPOSTFUNC_virtclass-cross = ""
146SYSROOTPOSTFUNC_virtclass-native = "" 146SYSROOTPOSTFUNC_virtclass-native = ""
147SYSROOTPOSTFUNC_virtclass-nativesdk = "" 147SYSROOTPOSTFUNC_virtclass-nativesdk = ""
148 148
149USERADDSETSCENEDEPS = "base-passwd:do_populate_sysroot_setscene shadow-native:do_populate_sysroot_setscene ${MLPREFIX}shadow-sysroot:do_populate_sysroot_setscene" 149USERADDSETSCENEDEPS = "${MLPREFIX}base-passwd:do_populate_sysroot_setscene shadow-native:do_populate_sysroot_setscene ${MLPREFIX}shadow-sysroot:do_populate_sysroot_setscene"
150USERADDSETSCENEDEPS_virtclass-cross = "" 150USERADDSETSCENEDEPS_virtclass-cross = ""
151USERADDSETSCENEDEPS_virtclass-native = "" 151USERADDSETSCENEDEPS_virtclass-native = ""
152USERADDSETSCENEDEPS_virtclass-nativesdk = "" 152USERADDSETSCENEDEPS_virtclass-nativesdk = ""