diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2016-03-23 11:09:18 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-28 15:55:49 +0100 |
commit | d6cb46cafdb9023556f5fbce32f0f8640cd5c7ce (patch) | |
tree | 44fa8f4298e001a3c1c181354ed8ecf41e2b8865 /meta/classes/image.bbclass | |
parent | 5cb7705d05fb56ce8c5b4d996254a64bdb1639a9 (diff) | |
download | poky-d6cb46cafdb9023556f5fbce32f0f8640cd5c7ce.tar.gz |
image.bbclass: run wicenv task only for wic images
Currently do_wicenv task is run for all images. However, its
result is used only to produce wic image. It's better to
run this task only for wic images. If another rootfs is
required to produce wic image, dependency to its do_wicenv
must be added to the wic image recipy.
Stopped running do_wicenv for all images. Added explicit
dependency to this task in wic-image-minimal recipe.
[YOCTO #9095]
(From OE-Core rev: b81c176fb2f1ee818b6049c39ef353a7d7d5e078)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
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 0249f77bcf..62ff07e2e7 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_image before do_image_wic do_image_complete | 278 | addtask do_rootfs_wicenv after do_image before do_image_wic |
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 | ||