diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2012-02-07 18:25:36 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-10 14:38:40 +0000 |
commit | af85900ba7d8ccfd83c6fe7a8ab6f0cca0070b1e (patch) | |
tree | 0cc5459c2d295703d230ba887ac1b60633680e01 | |
parent | d90565366caf31e62e1069b9ef3c778c3fc45e9b (diff) | |
download | poky-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.bbclass | 3 |
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 |
4 | DEPENDS_append = "${USERADDDEPENDS}" | 4 | DEPENDS_append = "${USERADDDEPENDS}" |
5 | USERADDDEPENDS = " base-passwd shadow-native shadow-sysroot shadow" | 5 | USERADDDEPENDS = " base-passwd shadow-native shadow-sysroot shadow" |
6 | USERADDDEPENDS_virtclass-cross = "" | ||
6 | USERADDDEPENDS_virtclass-native = "" | 7 | USERADDDEPENDS_virtclass-native = "" |
7 | USERADDDEPENDS_virtclass-nativesdk = "" | 8 | USERADDDEPENDS_virtclass-nativesdk = "" |
8 | 9 | ||
@@ -104,10 +105,12 @@ useradd_sysroot_sstate () { | |||
104 | 105 | ||
105 | do_install[prefuncs] += "${SYSROOTFUNC}" | 106 | do_install[prefuncs] += "${SYSROOTFUNC}" |
106 | SYSROOTFUNC = "useradd_sysroot" | 107 | SYSROOTFUNC = "useradd_sysroot" |
108 | SYSROOTFUNC_virtclass-cross = "" | ||
107 | SYSROOTFUNC_virtclass-native = "" | 109 | SYSROOTFUNC_virtclass-native = "" |
108 | SYSROOTFUNC_virtclass-nativesdk = "" | 110 | SYSROOTFUNC_virtclass-nativesdk = "" |
109 | SSTATEPREINSTFUNCS += "${SYSROOTPOSTFUNC}" | 111 | SSTATEPREINSTFUNCS += "${SYSROOTPOSTFUNC}" |
110 | SYSROOTPOSTFUNC = "useradd_sysroot_sstate" | 112 | SYSROOTPOSTFUNC = "useradd_sysroot_sstate" |
113 | SYSROOTPOSTFUNC_virtclass-cross = "" | ||
111 | SYSROOTPOSTFUNC_virtclass-native = "" | 114 | SYSROOTPOSTFUNC_virtclass-native = "" |
112 | SYSROOTPOSTFUNC_virtclass-nativesdk = "" | 115 | SYSROOTPOSTFUNC_virtclass-nativesdk = "" |
113 | 116 | ||