From: Richard Purdie Date: Mon, 16 Jul 2012 14:52:19 +0000 (+0000) Subject: useradd.bbclass: Fix for multilib builds X-Git-Tag: rev_ivi_2015_02_04~16443 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=32cfd404944f3e4cc61d6cd371ae38bb8582ac73;p=scm%2Fbb%2Ftizen-distro.git 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 --- diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass index 0ed91ad..6ae5e48 100644 --- a/meta/classes/useradd.bbclass +++ b/meta/classes/useradd.bbclass @@ -146,7 +146,7 @@ SYSROOTPOSTFUNC_virtclass-cross = "" SYSROOTPOSTFUNC_virtclass-native = "" SYSROOTPOSTFUNC_virtclass-nativesdk = "" -USERADDSETSCENEDEPS = "base-passwd:do_populate_sysroot_setscene shadow-native:do_populate_sysroot_setscene ${MLPREFIX}shadow-sysroot:do_populate_sysroot_setscene" +USERADDSETSCENEDEPS = "${MLPREFIX}base-passwd:do_populate_sysroot_setscene shadow-native:do_populate_sysroot_setscene ${MLPREFIX}shadow-sysroot:do_populate_sysroot_setscene" USERADDSETSCENEDEPS_virtclass-cross = "" USERADDSETSCENEDEPS_virtclass-native = "" USERADDSETSCENEDEPS_virtclass-nativesdk = ""