]> code.ossystems Code Review - openembedded-core.git/commitdiff
image_types_wic: add do_image_wic before do_image_complete
authorMing Liu <liu.ming50@gmail.com>
Fri, 20 Apr 2018 07:32:56 +0000 (09:32 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 4 May 2018 08:54:58 +0000 (09:54 +0100)
We have some tasks depending on image's do_image_complete task, and we
are also using WKS files to generate partitioned images, but now there
is lacking a inter dependency between do_image_wic and
do_image_complete, so we have to depend on both of them.

Fixed by adding the dependency.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/image_types_wic.bbclass

index dcf620cee0c0dcd54088484466c20615624b7185..5b40a9e919f2e6f49b857592ae534cead4686fcf 100644 (file)
@@ -102,6 +102,7 @@ python () {
                 # a variable and let the metadata deal with the deps.
                 d.setVar('_WKS_TEMPLATE', body)
                 bb.build.addtask('do_write_wks_template', 'do_image_wic', None, d)
+        bb.build.addtask('do_image_wic', 'do_image_complete', None, d)
 }
 
 #