From: Dongxiao Xu Date: Thu, 25 Aug 2011 03:40:11 +0000 (+0800) Subject: package.bbclass: Fix recrdeptask of image type recipes X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~44395 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b68cd33673fdc17711d7b9fde9cc23b0d8498c17;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git package.bbclass: Fix recrdeptask of image type recipes For image type of recipes, we need to define do_package_write as its do_build recrdeptask, which ensures that all packaging types listed in PACKAGE_CLASSES will be built out. [YOCTO 1370] Signed-off-by: Dongxiao Xu --- diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 96675dedb6f..15c414274f6 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass @@ -184,7 +184,7 @@ python () { # shlibs requires any DEPENDS to have already packaged for the *.list files deps.append("do_package") bb.data.setVarFlag('do_package', 'deptask', " ".join(deps), d) - else: + elif not bb.data.inherits_class('image', d): d.setVar("PACKAGERDEPTASK", "") }