[OE-core] [PATCH 1/1] package.bbclass: Fix recrdeptask of image type recipes
Dongxiao Xu
dongxiao.xu at intel.com
Thu Aug 25 03:51:44 UTC 2011
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.1
More information about the Openembedded-core
mailing list