aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMihaly Varga <mihaly.varga@ni.com>2015-08-06 20:04:51 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-24 23:43:26 +0100
commite8769d52d6d8c67ba18595ebd27f5022bd0e66c4 (patch)
tree25456db93834cde511741018654ae3295a4bbfab
parent289c534b5d990e22e5547496f5f84cc9721ce3ee (diff)
downloadopenembedded-core-contrib-e8769d52d6d8c67ba18595ebd27f5022bd0e66c4.tar.gz
wic: add mkhybridiso kickstart file
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>
-rw-r--r--scripts/lib/image/canned-wks/mkhybridiso.wks7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/lib/image/canned-wks/mkhybridiso.wks b/scripts/lib/image/canned-wks/mkhybridiso.wks
new file mode 100644
index 0000000000..b443c15e07
--- /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=""