summaryrefslogtreecommitdiffstats
path: root/meta/classes/package.bbclass
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2011-08-25 11:40:11 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-29 13:48:00 +0100
commitde36669053f1af61bc03f33968809297c7123992 (patch)
tree157ba47aeda55b9caf13d1ab7452e545d718ee1f /meta/classes/package.bbclass
parent84ef84dbb8627fa5292cf10d1c9146c1236802d0 (diff)
downloadpoky-de36669053f1af61bc03f33968809297c7123992.tar.gz
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] (From OE-Core rev: b68cd33673fdc17711d7b9fde9cc23b0d8498c17) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 () {
184 # shlibs requires any DEPENDS to have already packaged for the *.list files 184 # shlibs requires any DEPENDS to have already packaged for the *.list files
185 deps.append("do_package") 185 deps.append("do_package")
186 bb.data.setVarFlag('do_package', 'deptask', " ".join(deps), d) 186 bb.data.setVarFlag('do_package', 'deptask', " ".join(deps), d)
187 else: 187 elif not bb.data.inherits_class('image', d):
188 d.setVar("PACKAGERDEPTASK", "") 188 d.setVar("PACKAGERDEPTASK", "")
189} 189}
190 190