From 0910bc65f57e87dc36202b914e712db873f7c19b Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 18 Jan 2016 14:25:59 +0000 Subject: image: Always run do_rootfs_wicenv 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. (From OE-Core rev: b2576f2eab10e4c5dd86449312b417a269cc578e) 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 58b75da76e..83ba5c35f0 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -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' -- cgit 1.2.3-korg