[oe-commits] Richard Purdie : insane.bbclass: Add ALLOW_EMPTY to list of package specific variables

git at git.openembedded.org git at git.openembedded.org
Mon Mar 4 10:09:32 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: a332a9b2d9cc5a4ab89053252421f867eaf8c65f
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=a332a9b2d9cc5a4ab89053252421f867eaf8c65f

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Mon Mar  4 10:07:14 2013 +0000

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 at linuxfoundation.org>

---

 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 bd6f120..2f10688 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:





More information about the Openembedded-commits mailing list