diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2012-10-27 16:48:17 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-11-02 16:18:27 +0000 |
commit | 51c7ad682f00a13ada21c5458030948aaa699748 (patch) | |
tree | bf3c399c846b7c952ac21993bb4458869cdc85c3 /meta/classes/useradd.bbclass | |
parent | ffec48ad4e16bfd85ac852d907e4f14fc155eef0 (diff) | |
download | poky-51c7ad682f00a13ada21c5458030948aaa699748.tar.gz |
classes: replace virtclass-native(sdk) with class-native(sdk)
The overrides virtclass-native and virtclass-nativesdk are deprecated,
which should be replaced by class-native and class-nativesdk.
[YOCTO #3297]
(From OE-Core rev: 9fbeab63315fef0dbcc91c5e7051665764758a6e)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/useradd.bbclass')
-rw-r--r-- | meta/classes/useradd.bbclass | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass index bb8f42b357..0a4febadc8 100644 --- a/meta/classes/useradd.bbclass +++ b/meta/classes/useradd.bbclass | |||
@@ -4,8 +4,8 @@ | |||
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-cross = "" |
7 | USERADDDEPENDS_virtclass-native = "" | 7 | USERADDDEPENDS_class-native = "" |
8 | USERADDDEPENDS_virtclass-nativesdk = "" | 8 | USERADDDEPENDS_class-nativesdk = "" |
9 | 9 | ||
10 | # This preinstall function can be run in four different contexts: | 10 | # This preinstall function can be run in four different contexts: |
11 | # | 11 | # |
@@ -138,18 +138,18 @@ useradd_sysroot_sstate () { | |||
138 | do_install[prefuncs] += "${SYSROOTFUNC}" | 138 | do_install[prefuncs] += "${SYSROOTFUNC}" |
139 | SYSROOTFUNC = "useradd_sysroot" | 139 | SYSROOTFUNC = "useradd_sysroot" |
140 | SYSROOTFUNC_virtclass-cross = "" | 140 | SYSROOTFUNC_virtclass-cross = "" |
141 | SYSROOTFUNC_virtclass-native = "" | 141 | SYSROOTFUNC_class-native = "" |
142 | SYSROOTFUNC_virtclass-nativesdk = "" | 142 | SYSROOTFUNC_class-nativesdk = "" |
143 | SSTATEPREINSTFUNCS += "${SYSROOTPOSTFUNC}" | 143 | SSTATEPREINSTFUNCS += "${SYSROOTPOSTFUNC}" |
144 | SYSROOTPOSTFUNC = "useradd_sysroot_sstate" | 144 | SYSROOTPOSTFUNC = "useradd_sysroot_sstate" |
145 | SYSROOTPOSTFUNC_virtclass-cross = "" | 145 | SYSROOTPOSTFUNC_virtclass-cross = "" |
146 | SYSROOTPOSTFUNC_virtclass-native = "" | 146 | SYSROOTPOSTFUNC_class-native = "" |
147 | SYSROOTPOSTFUNC_virtclass-nativesdk = "" | 147 | SYSROOTPOSTFUNC_class-nativesdk = "" |
148 | 148 | ||
149 | USERADDSETSCENEDEPS = "${MLPREFIX}base-passwd:do_populate_sysroot_setscene shadow-native:do_populate_sysroot_setscene ${MLPREFIX}shadow-sysroot:do_populate_sysroot_setscene" | 149 | USERADDSETSCENEDEPS = "${MLPREFIX}base-passwd:do_populate_sysroot_setscene shadow-native:do_populate_sysroot_setscene ${MLPREFIX}shadow-sysroot:do_populate_sysroot_setscene" |
150 | USERADDSETSCENEDEPS_virtclass-cross = "" | 150 | USERADDSETSCENEDEPS_virtclass-cross = "" |
151 | USERADDSETSCENEDEPS_virtclass-native = "" | 151 | USERADDSETSCENEDEPS_class-native = "" |
152 | USERADDSETSCENEDEPS_virtclass-nativesdk = "" | 152 | USERADDSETSCENEDEPS_class-nativesdk = "" |
153 | do_package_setscene[depends] = "${USERADDSETSCENEDEPS}" | 153 | do_package_setscene[depends] = "${USERADDSETSCENEDEPS}" |
154 | 154 | ||
155 | # Recipe parse-time sanity checks | 155 | # Recipe parse-time sanity checks |