diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-18 14:25:59 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-19 17:24:47 +0000 |
commit | 0910bc65f57e87dc36202b914e712db873f7c19b (patch) | |
tree | 8acbba01c1fa2d3b45c7ac6694c5186e33cc8608 /meta/classes/image.bbclass | |
parent | 12e37e7c79e1694763a8066dbce74c2e39e27271 (diff) | |
download | poky-0910bc65f57e87dc36202b914e712db873f7c19b.tar.gz |
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r-- | meta/classes/image.bbclass | 2 |
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 () { | |||
277 | if value: | 277 | if value: |
278 | envf.write('%s="%s"\n' % (var, value.strip())) | 278 | envf.write('%s="%s"\n' % (var, value.strip())) |
279 | } | 279 | } |
280 | addtask do_rootfs_wicenv after do_rootfs before do_image_wic | 280 | addtask do_rootfs_wicenv after do_rootfs before do_image_wic do_image_complete |
281 | do_rootfs_wicenv[vardeps] += "${WICVARS}" | 281 | do_rootfs_wicenv[vardeps] += "${WICVARS}" |
282 | do_rootfs_wicenv[prefuncs] = 'set_image_size' | 282 | do_rootfs_wicenv[prefuncs] = 'set_image_size' |
283 | 283 | ||