summaryrefslogtreecommitdiff
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2011-08-25 11:40:11 +0800
committerSaul Wold <sgw@linux.intel.com>2011-08-26 12:23:56 -0700
commitb68cd33673fdc17711d7b9fde9cc23b0d8498c17 (patch)
tree397da0e7067a4fc339d052176eb1deff9be42f95 /meta/classes/package.bbclass
parentba02844fd3c3e09b4c40bfff50c32bdcc27899fc (diff)
downloadopenembedded-core-b68cd33673fdc17711d7b9fde9cc23b0d8498c17.tar.gz
openembedded-core-b68cd33673fdc17711d7b9fde9cc23b0d8498c17.tar.bz2
openembedded-core-b68cd33673fdc17711d7b9fde9cc23b0d8498c17.zip
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 <dongxiao.xu@intel.com>
Diffstat (limited to 'meta/classes/package.bbclass')
-rw-r--r--meta/classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
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", "")
}