From 02849a54d38c0b98db7ff6b52b4974ee0d88bfb4 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 4 Mar 2013 10:07:14 +0000 Subject: [PATCH] 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 --- meta/classes/insane.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.40.1