]> code.ossystems Code Review - openembedded-core.git/commitdiff
package.bbclass: Fix recrdeptask of image type recipes
authorDongxiao Xu <dongxiao.xu@intel.com>
Thu, 25 Aug 2011 03:40:11 +0000 (11:40 +0800)
committerSaul Wold <sgw@linux.intel.com>
Fri, 26 Aug 2011 19:23:56 +0000 (12:23 -0700)
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>
meta/classes/package.bbclass

index 96675dedb6f992c8ce7edeb1b18e2a203b92515e..15c414274f6e64c63719d0f74ae3e25c2cd995a9 100644 (file)
@@ -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", "")
 }