summaryrefslogtreecommitdiff
path: root/meta/classes/insane.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-04 10:07:14 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-05 13:14:12 +0000
commit02849a54d38c0b98db7ff6b52b4974ee0d88bfb4 (patch)
tree26e12fbd959d9558b7c6544fc3d125a6ecdd0b80 /meta/classes/insane.bbclass
parent8981ed20234c42dc1f5cdef802ebe7214bd55238 (diff)
downloadopenembedded-core-02849a54d38c0b98db7ff6b52b4974ee0d88bfb4.tar.gz
openembedded-core-02849a54d38c0b98db7ff6b52b4974ee0d88bfb4.tar.bz2
openembedded-core-02849a54d38c0b98db7ff6b52b4974ee0d88bfb4.zip
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r--meta/classes/insane.bbclass2
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 () {
issues = []
if (d.getVar('PACKAGES', True) or "").split():
- for var in 'RDEPENDS', 'RRECOMMENDS', 'RSUGGESTS', 'RCONFLICTS', 'RPROVIDES', 'RREPLACES', 'FILES', 'pkg_preinst', 'pkg_postinst', 'pkg_prerm', 'pkg_postrm':
+ for var in 'RDEPENDS', 'RRECOMMENDS', 'RSUGGESTS', 'RCONFLICTS', 'RPROVIDES', 'RREPLACES', 'FILES', 'pkg_preinst', 'pkg_postinst', 'pkg_prerm', 'pkg_postrm', 'ALLOW_EMPTY':
if d.getVar(var):
issues.append(var)
for i in issues: