[OE-core] [CONSOLIDATED PULL 04/21] package.bbclass: Fix recrdeptask of image type recipes
Saul Wold
sgw at linux.intel.com
Fri Aug 26 19:39:34 UTC 2011
From: Dongxiao Xu <dongxiao.xu at intel.com>
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 <dongxiao.xu at intel.com>
---
meta/classes/package.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 96675de..15c4142 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", "")
}
--
1.7.6
More information about the Openembedded-core
mailing list