[OE-core] [wic][PATCH 08/14] image-wic: add task do_build_iso
Ed Bartosh
ed.bartosh at linux.intel.com
Mon Jan 16 15:46:37 UTC 2017
This task is needed to provide iso artifacts for isoimage-isohybrid
wic plugin. Currently this pluing uses hddimg, which is going to be
dropped from the codebase soon.
[YOCTO #10835]
Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
---
meta/classes/image-wic.bbclass | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/meta/classes/image-wic.bbclass b/meta/classes/image-wic.bbclass
index ba6d8ae..370eba8 100644
--- a/meta/classes/image-wic.bbclass
+++ b/meta/classes/image-wic.bbclass
@@ -131,3 +131,12 @@ python do_efi_populate() {
}
addtask do_efi_populate after do_rootfs before do_image
+
+# Build iso artifacts
+
+python do_build_iso() {
+ # do_bootimage calls build_iso, check to avoid building twice
+ if 'do_bootimg' not in d and d.getVar('IMG_LIVE_CLASS'):
+ bb.build.exec_func('build_iso', d)
+}
+addtask do_build_iso after do_image before do_image_wic
--
2.1.4
More information about the Openembedded-core
mailing list