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: 2011-1~239 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=b68cd33673fdc17711d7b9fde9cc23b0d8498c17;p=openembedded-core.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 96675dedb6..15c414274f 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", "") }