diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-04 10:07:14 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-05 13:14:59 +0000 |
commit | c446bbfa8d8af8d10076a62a3a3e9f86e20f454f (patch) | |
tree | 7351acfa214d781885a8670cbd1ccd81d90f9bf2 | |
parent | 51997fee89dc458a98eb053767247bdafe9b1297 (diff) | |
download | poky-c446bbfa8d8af8d10076a62a3a3e9f86e20f454f.tar.gz |
insane.bbclass: Add ALLOW_EMPTY to list of package specific variables
ALLOW_EMPTY should have a package specified so extend sanity checks to
cover it.
(From OE-Core rev: 02849a54d38c0b98db7ff6b52b4974ee0d88bfb4)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/insane.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index bd6f1204ab..2f10688909 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -906,7 +906,7 @@ python () { | |||
906 | 906 | ||
907 | issues = [] | 907 | issues = [] |
908 | if (d.getVar('PACKAGES', True) or "").split(): | 908 | if (d.getVar('PACKAGES', True) or "").split(): |
909 | for var in 'RDEPENDS', 'RRECOMMENDS', 'RSUGGESTS', 'RCONFLICTS', 'RPROVIDES', 'RREPLACES', 'FILES', 'pkg_preinst', 'pkg_postinst', 'pkg_prerm', 'pkg_postrm': | 909 | for var in 'RDEPENDS', 'RRECOMMENDS', 'RSUGGESTS', 'RCONFLICTS', 'RPROVIDES', 'RREPLACES', 'FILES', 'pkg_preinst', 'pkg_postinst', 'pkg_prerm', 'pkg_postrm', 'ALLOW_EMPTY': |
910 | if d.getVar(var): | 910 | if d.getVar(var): |
911 | issues.append(var) | 911 | issues.append(var) |
912 | for i in issues: | 912 | for i in issues: |