From 25871016e01c54ab4e1d8c00f9242437f736c843 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 28 Feb 2016 08:57:20 +0000 Subject: [PATCH] image: Run do_rootfs_wicenv after do_image 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. (From OE-Core rev: 8f5429b5e543e122072a51b518cc137dfc8ec442) Signed-off-by: Richard Purdie --- meta/classes/image.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 5924dedf9e..02612ad2a2 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -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'