summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2012-02-07 18:25:36 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-10 14:38:40 +0000
commitaf85900ba7d8ccfd83c6fe7a8ab6f0cca0070b1e (patch)
tree0cc5459c2d295703d230ba887ac1b60633680e01
parentd90565366caf31e62e1069b9ef3c778c3fc45e9b (diff)
downloadpoky-af85900ba7d8ccfd83c6fe7a8ab6f0cca0070b1e.tar.gz
useradd.bbclass: skip processing on virtclass-cross extended packages
(From OE-Core rev: 4308acbbd43e6b8b37123d95df6675233007dae4) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/useradd.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
index 8eb6444cee..1fed755267 100644
--- a/meta/classes/useradd.bbclass
+++ b/meta/classes/useradd.bbclass
@@ -3,6 +3,7 @@
3# and support files needed to add and modify user and group accounts 3# and support files needed to add and modify user and group accounts
4DEPENDS_append = "${USERADDDEPENDS}" 4DEPENDS_append = "${USERADDDEPENDS}"
5USERADDDEPENDS = " base-passwd shadow-native shadow-sysroot shadow" 5USERADDDEPENDS = " base-passwd shadow-native shadow-sysroot shadow"
6USERADDDEPENDS_virtclass-cross = ""
6USERADDDEPENDS_virtclass-native = "" 7USERADDDEPENDS_virtclass-native = ""
7USERADDDEPENDS_virtclass-nativesdk = "" 8USERADDDEPENDS_virtclass-nativesdk = ""
8 9
@@ -104,10 +105,12 @@ useradd_sysroot_sstate () {
104 105
105do_install[prefuncs] += "${SYSROOTFUNC}" 106do_install[prefuncs] += "${SYSROOTFUNC}"
106SYSROOTFUNC = "useradd_sysroot" 107SYSROOTFUNC = "useradd_sysroot"
108SYSROOTFUNC_virtclass-cross = ""
107SYSROOTFUNC_virtclass-native = "" 109SYSROOTFUNC_virtclass-native = ""
108SYSROOTFUNC_virtclass-nativesdk = "" 110SYSROOTFUNC_virtclass-nativesdk = ""
109SSTATEPREINSTFUNCS += "${SYSROOTPOSTFUNC}" 111SSTATEPREINSTFUNCS += "${SYSROOTPOSTFUNC}"
110SYSROOTPOSTFUNC = "useradd_sysroot_sstate" 112SYSROOTPOSTFUNC = "useradd_sysroot_sstate"
113SYSROOTPOSTFUNC_virtclass-cross = ""
111SYSROOTPOSTFUNC_virtclass-native = "" 114SYSROOTPOSTFUNC_virtclass-native = ""
112SYSROOTPOSTFUNC_virtclass-nativesdk = "" 115SYSROOTPOSTFUNC_virtclass-nativesdk = ""
113 116