]> code.ossystems Code Review - openembedded-core.git/commitdiff
insane.bbclass: Add ALLOW_EMPTY to list of package specific variables
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Mar 2013 10:07:14 +0000 (10:07 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 5 Mar 2013 13:14:12 +0000 (13:14 +0000)
ALLOW_EMPTY should have a package specified so extend sanity checks to
cover it.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/insane.bbclass

index bd6f1204ab1d28e82a3e46e4163b5fb1575ea584..2f10688909b9b6e5e2237862c1bba084a5ef4036 100644 (file)
@@ -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: