[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
Tue Mar 5 13:14:43 UTC 2013
Module: openembedded-core.git
Branch: master-next
Commit: 02849a54d38c0b98db7ff6b52b4974ee0d88bfb4
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=02849a54d38c0b98db7ff6b52b4974ee0d88bfb4
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