summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-18 14:25:59 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-19 16:35:37 +0000
commitb2576f2eab10e4c5dd86449312b417a269cc578e (patch)
tree007fba74e7f03a244a1be243fa4651cddb261d99 /meta
parent9e9a33281e6008c3b699b5bbb738921829dbc501 (diff)
downloadopenembedded-core-b2576f2eab10e4c5dd86449312b417a269cc578e.tar.gz
openembedded-core-b2576f2eab10e4c5dd86449312b417a269cc578e.tar.bz2
openembedded-core-b2576f2eab10e4c5dd86449312b417a269cc578e.zip
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/image.bbclass2
1 files changed, 1 insertions, 1 deletions
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'