]> code.ossystems Code Review - openembedded-core.git/commitdiff
wic: add mkhybridiso kickstart file
authorMihaly Varga <mihaly.varga@ni.com>
Thu, 6 Aug 2015 17:04:51 +0000 (20:04 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 24 Aug 2015 22:43:26 +0000 (23:43 +0100)
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@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/image/canned-wks/mkhybridiso.wks [new file with mode: 0644]

diff --git a/scripts/lib/image/canned-wks/mkhybridiso.wks b/scripts/lib/image/canned-wks/mkhybridiso.wks
new file mode 100644 (file)
index 0000000..b443c15
--- /dev/null
@@ -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=""