diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2011-08-25 11:40:11 +0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2011-08-26 12:23:56 -0700 |
commit | b68cd33673fdc17711d7b9fde9cc23b0d8498c17 (patch) | |
tree | 397da0e7067a4fc339d052176eb1deff9be42f95 | |
parent | ba02844fd3c3e09b4c40bfff50c32bdcc27899fc (diff) | |
download | openembedded-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>
-rw-r--r-- | 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 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", "") } |