]> code.ossystems Code Review - openembedded-core.git/commitdiff
image: Always run do_rootfs_wicenv
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 18 Jan 2016 14:25:59 +0000 (14:25 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Jan 2016 16:35:37 +0000 (16:35 +0000)
The wic command can be used externally but for this to work, the wic
environment file needs to be present. Therefore write this out
universally, it runs in parallel with other image construction so
any performance implications are negligible.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass

index 58b75da76e81cc5df17ad593ebfdc789d15f2b91..83ba5c35f0bab94a44d9fb8ecd41be68a3dea455 100644 (file)
@@ -277,7 +277,7 @@ python do_rootfs_wicenv () {
             if value:
                 envf.write('%s="%s"\n' % (var, value.strip()))
 }
-addtask do_rootfs_wicenv after do_rootfs before do_image_wic
+addtask do_rootfs_wicenv after do_rootfs before do_image_wic do_image_complete
 do_rootfs_wicenv[vardeps] += "${WICVARS}"
 do_rootfs_wicenv[prefuncs] = 'set_image_size'