aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-28 08:57:20 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-28 08:57:22 +0000
commit8f5429b5e543e122072a51b518cc137dfc8ec442 (patch)
tree0ae6495f65fe77ca4441ab563dda48fad821fe72 /meta/classes/image.bbclass
parent1e38068ac38dfd067655dfd41464e28439179306 (diff)
downloadopenembedded-core-8f5429b5e543e122072a51b518cc137dfc8ec442.tar.gz
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. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-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 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'