diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-28 08:57:20 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-28 11:27:46 +0000 |
commit | 25871016e01c54ab4e1d8c00f9242437f736c843 (patch) | |
tree | f0b9b01ee8b14ff2e7c93e5fd5cc691bbdff42e1 /meta/classes/image.bbclass | |
parent | e0fd96442a20e3fe7953bf38fc02520cd0dd4d6a (diff) | |
download | poky-25871016e01c54ab4e1d8c00f9242437f736c843.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.
(From OE-Core rev: 8f5429b5e543e122072a51b518cc137dfc8ec442)
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 5924dedf9e..02612ad2a2 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -275,7 +275,7 @@ python do_rootfs_wicenv () { | |||
275 | if value: | 275 | if value: |
276 | envf.write('%s="%s"\n' % (var, value.strip())) | 276 | envf.write('%s="%s"\n' % (var, value.strip())) |
277 | } | 277 | } |
278 | addtask do_rootfs_wicenv after do_rootfs before do_image_wic do_image_complete | 278 | addtask do_rootfs_wicenv after do_image before do_image_wic do_image_complete |
279 | do_rootfs_wicenv[vardeps] += "${WICVARS}" | 279 | do_rootfs_wicenv[vardeps] += "${WICVARS}" |
280 | do_rootfs_wicenv[prefuncs] = 'set_image_size' | 280 | do_rootfs_wicenv[prefuncs] = 'set_image_size' |
281 | 281 | ||