]> code.ossystems Code Review - openembedded-core.git/commitdiff
image: Run do_rootfs_wicenv after do_image
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Feb 2016 08:57:20 +0000 (08:57 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Feb 2016 08:57:22 +0000 (08:57 +0000)
do_image can modify the content of the rootfs directory so we need to run
do_rootfs_wicenv after do_image compeltes or the command can fail.

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

index 5924dedf9e4140e9713f9691074ad51880707457..02612ad2a23a6bcac83769de582dbd36fed918f8 100644 (file)
@@ -275,7 +275,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 do_image_complete
+addtask do_rootfs_wicenv after do_image before do_image_wic do_image_complete
 do_rootfs_wicenv[vardeps] += "${WICVARS}"
 do_rootfs_wicenv[prefuncs] = 'set_image_size'