[OE-core] [PATCH 2/3] wic: add mkhybridiso kickstart file

Mihaly Varga mihaly.varga at ni.com
Thu Aug 6 17:04:51 UTC 2015


Add kickstart file for generating a hybrid bootable iso image using
isoimage-isohybrid plugin, the output image is HYBRID_ISO_IMG-cd.iso,
the label is HYBRIDISO, and the rootfs.img file is an image with ext3
file system, and uses grub as bootloader for EFI boot and
syslinux for legacy boot.

Signed-off-by: Mihaly Varga <mihaly.varga at ni.com>
---
 scripts/lib/image/canned-wks/mkhybridiso.wks | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 scripts/lib/image/canned-wks/mkhybridiso.wks

diff --git a/scripts/lib/image/canned-wks/mkhybridiso.wks b/scripts/lib/image/canned-wks/mkhybridiso.wks
new file mode 100644
index 0000000..b443c15
--- /dev/null
+++ b/scripts/lib/image/canned-wks/mkhybridiso.wks
@@ -0,0 +1,7 @@
+# short-description: Create a hybrid ISO image
+# long-description: Creates an EFI and legacy bootable hybrid ISO image
+# which can be used on optical media as well as USB media.
+
+part /boot --source isoimage-isohybrid --sourceparams="loader=grub-efi,image_name=HYBRID_ISO_IMG" --ondisk cd --label HYBRIDISO --fstype=ext3
+
+bootloader  --timeout=15  --append=""
-- 
1.9.1




More information about the Openembedded-core mailing list