mirror of
https://git.yoctoproject.org/poky
synced 2026-04-05 08:02:25 +02:00
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. (From OE-Core rev: 02849a54d38c0b98db7ff6b52b4974ee0d88bfb4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user