From: Richard Purdie Date: Sat, 1 Dec 2007 18:56:58 +0000 (+0000) Subject: package.bbclass: Ensure 'packaged' pkgdata stamp is emitted for packages using ALLOW_... X-Git-Tag: Release-2010-05/1~8239^2~8^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4d1946202890cf7a8821600251d30c75a20e0db;p=openembedded.git package.bbclass: Ensure 'packaged' pkgdata stamp is emitted for packages using ALLOW_EMPTY instead of ALLOW_EMTPY_pkg (from poky) --- diff --git a/classes/package.bbclass b/classes/package.bbclass index 6c61f7bdda..3f7a5dc9df 100644 --- a/classes/package.bbclass +++ b/classes/package.bbclass @@ -604,6 +604,8 @@ python emit_pkgdata() { sf.close() allow_empty = bb.data.getVar('ALLOW_EMPTY_%s' % pkg, d, 1) + if not allow_empty: + allow_empty = bb.data.getVar('ALLOW_EMPTY', d, 1) root = "%s/install/%s" % (workdir, pkg) os.chdir(root) g = glob('*')