summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-12 12:11:34 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-13 11:41:21 +0000
commit4db39d233c268f99ce73fe78af3921a18da08056 (patch)
tree1914073e95c1af0411f76a6aba42df0bae04b036 /meta/classes
parent3d0dccd02612caecf1a82395160121ba47153ddc (diff)
downloadpoky-4db39d233c268f99ce73fe78af3921a18da08056.tar.gz
meta/recipes: Remove virtclass references
The virtclass overrides will go away at some point (apart from the multilib one). Change them all to class-xxx instead since people enjoy copy and pasting them. (From OE-Core rev: d1c073d2813bd913617990cd047507353ea0c09e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/ptest.bbclass4
-rw-r--r--meta/classes/update-rc.d.bbclass2
-rw-r--r--meta/classes/useradd.bbclass8
3 files changed, 7 insertions, 7 deletions
diff --git a/meta/classes/ptest.bbclass b/meta/classes/ptest.bbclass
index caf7101224..c37dfaca3d 100644
--- a/meta/classes/ptest.bbclass
+++ b/meta/classes/ptest.bbclass
@@ -8,8 +8,8 @@ SECTION_${PN}-ptest = "devel"
8ALLOW_EMPTY_${PN}-ptest = "1" 8ALLOW_EMPTY_${PN}-ptest = "1"
9PTEST_ENABLED = "${@base_contains('DISTRO_FEATURES', 'ptest', '1', '0', d)}" 9PTEST_ENABLED = "${@base_contains('DISTRO_FEATURES', 'ptest', '1', '0', d)}"
10PTEST_ENABLED_class-native = "" 10PTEST_ENABLED_class-native = ""
11RDEPENDS_${PN}-ptest_virtclass-native = "" 11RDEPENDS_${PN}-ptest_class-native = ""
12RDEPENDS_${PN}-ptest_virtclass-nativesdk = "" 12RDEPENDS_${PN}-ptest_class-nativesdk = ""
13 13
14PACKAGES =+ "${@base_contains('DISTRO_FEATURES', 'ptest', '${PN}-ptest', '', d)}" 14PACKAGES =+ "${@base_contains('DISTRO_FEATURES', 'ptest', '${PN}-ptest', '', d)}"
15 15
diff --git a/meta/classes/update-rc.d.bbclass b/meta/classes/update-rc.d.bbclass
index ad803c2d82..4b92d8d6f1 100644
--- a/meta/classes/update-rc.d.bbclass
+++ b/meta/classes/update-rc.d.bbclass
@@ -2,7 +2,7 @@ UPDATERCPN ?= "${PN}"
2 2
3DEPENDS_append = " update-rc.d-native" 3DEPENDS_append = " update-rc.d-native"
4UPDATERCD = "update-rc.d" 4UPDATERCD = "update-rc.d"
5UPDATERCD_virtclass-cross = "" 5UPDATERCD_class-cross = ""
6UPDATERCD_class-native = "" 6UPDATERCD_class-native = ""
7UPDATERCD_class-nativesdk = "" 7UPDATERCD_class-nativesdk = ""
8 8
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
index 22bae97324..b5f37688fe 100644
--- a/meta/classes/useradd.bbclass
+++ b/meta/classes/useradd.bbclass
@@ -5,7 +5,7 @@ inherit useradd_base
5# and support files needed to add and modify user and group accounts 5# and support files needed to add and modify user and group accounts
6DEPENDS_append = "${USERADDDEPENDS}" 6DEPENDS_append = "${USERADDDEPENDS}"
7USERADDDEPENDS = " base-passwd shadow-native shadow-sysroot shadow" 7USERADDDEPENDS = " base-passwd shadow-native shadow-sysroot shadow"
8USERADDDEPENDS_virtclass-cross = "" 8USERADDDEPENDS_class-cross = ""
9USERADDDEPENDS_class-native = "" 9USERADDDEPENDS_class-native = ""
10USERADDDEPENDS_class-nativesdk = "" 10USERADDDEPENDS_class-nativesdk = ""
11 11
@@ -117,17 +117,17 @@ useradd_sysroot_sstate () {
117 117
118do_install[prefuncs] += "${SYSROOTFUNC}" 118do_install[prefuncs] += "${SYSROOTFUNC}"
119SYSROOTFUNC = "useradd_sysroot" 119SYSROOTFUNC = "useradd_sysroot"
120SYSROOTFUNC_virtclass-cross = "" 120SYSROOTFUNC_class-cross = ""
121SYSROOTFUNC_class-native = "" 121SYSROOTFUNC_class-native = ""
122SYSROOTFUNC_class-nativesdk = "" 122SYSROOTFUNC_class-nativesdk = ""
123SSTATEPREINSTFUNCS += "${SYSROOTPOSTFUNC}" 123SSTATEPREINSTFUNCS += "${SYSROOTPOSTFUNC}"
124SYSROOTPOSTFUNC = "useradd_sysroot_sstate" 124SYSROOTPOSTFUNC = "useradd_sysroot_sstate"
125SYSROOTPOSTFUNC_virtclass-cross = "" 125SYSROOTPOSTFUNC_class-cross = ""
126SYSROOTPOSTFUNC_class-native = "" 126SYSROOTPOSTFUNC_class-native = ""
127SYSROOTPOSTFUNC_class-nativesdk = "" 127SYSROOTPOSTFUNC_class-nativesdk = ""
128 128
129USERADDSETSCENEDEPS = "${MLPREFIX}base-passwd:do_populate_sysroot_setscene shadow-native:do_populate_sysroot_setscene ${MLPREFIX}shadow-sysroot:do_populate_sysroot_setscene" 129USERADDSETSCENEDEPS = "${MLPREFIX}base-passwd:do_populate_sysroot_setscene shadow-native:do_populate_sysroot_setscene ${MLPREFIX}shadow-sysroot:do_populate_sysroot_setscene"
130USERADDSETSCENEDEPS_virtclass-cross = "" 130USERADDSETSCENEDEPS_class-cross = ""
131USERADDSETSCENEDEPS_class-native = "" 131USERADDSETSCENEDEPS_class-native = ""
132USERADDSETSCENEDEPS_class-nativesdk = "" 132USERADDSETSCENEDEPS_class-nativesdk = ""
133do_package_setscene[depends] += "${USERADDSETSCENEDEPS}" 133do_package_setscene[depends] += "${USERADDSETSCENEDEPS}"