diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-03 16:59:09 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-06 13:12:59 +0000 |
commit | 1e593e92d28bdbf921489522452a1918920b079b (patch) | |
tree | abf525f9963e2caa331f2a249a36d35c39e66395 /meta/classes/insane.bbclass | |
parent | 9244e4471d086ac25a5e40bb40abdfaf00c8e9cb (diff) | |
download | poky-1e593e92d28bdbf921489522452a1918920b079b.tar.gz |
staging/insane.bbclass: Move legacy do_stage check iinto insane.bbclass
We might as well put all the sanity checks in one place.
(From OE-Core rev: 05be11c7508984cc4aa757becb7a8f47c5b7e919)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r-- | meta/classes/insane.bbclass | 3 |
1 files changed, 3 insertions, 0 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': |