From b68cd33673fdc17711d7b9fde9cc23b0d8498c17 Mon Sep 17 00:00:00 2001 From: Dongxiao Xu Date: Thu, 25 Aug 2011 11:40:11 +0800 Subject: 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 --- meta/classes/package.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes/package.bbclass') diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 96675dedb..15c414274 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", "") } -- cgit v1.2.3