summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/insane.bbclass3
-rw-r--r--meta/classes/staging.bbclass5
2 files changed, 3 insertions, 5 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 1905c0dfdd..58fc70c56f 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -903,6 +903,9 @@ python () {
903 # Check various variables 903 # Check various variables
904 ########################################################################### 904 ###########################################################################
905 905
906 if d.getVar('do_stage', True) is not None:
907 bb.fatal("Legacy staging found for %s as it has a do_stage function. This will need conversion to a do_install or often simply removal to work with OE-core" % d.getVar("FILE", True))
908
906 issues = [] 909 issues = []
907 if (d.getVar('PACKAGES', True) or "").split(): 910 if (d.getVar('PACKAGES', True) or "").split():
908 for var in 'RDEPENDS', 'RRECOMMENDS', 'FILES', 'pkg_preinst', 'pkg_postinst', 'pkg_prerm', 'pkg_postrm': 911 for var in 'RDEPENDS', 'RRECOMMENDS', 'FILES', 'pkg_preinst', 'pkg_postinst', 'pkg_prerm', 'pkg_postrm':
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index da90d31678..643352dc1e 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -114,9 +114,4 @@ python do_populate_sysroot_setscene () {
114} 114}
115addtask do_populate_sysroot_setscene 115addtask do_populate_sysroot_setscene
116 116
117python () {
118 if d.getVar('do_stage', True) is not None:
119 bb.fatal("Legacy staging found for %s as it has a do_stage function. This will need conversion to a do_install or often simply removal to work with OE-core" % d.getVar("FILE", True))
120}
121
122 117