* [PATCH] image: Always run do_rootfs_wicenv
@ 2016-01-18 14:25 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2016-01-18 14:25 UTC (permalink / raw)
To: openembedded-core
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>
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index e81edb2..3870516 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'
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-01-18 14:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-18 14:25 [PATCH] image: Always run do_rootfs_wicenv Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox