diff options
author | Mihaly Varga <mihaly.varga@ni.com> | 2015-08-06 20:04:51 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-24 23:46:56 +0100 |
commit | 1308e30379921ff012d3a0530be9afb772c8324c (patch) | |
tree | ca64d29634e093afb1ec06886547ef4ade0484ba | |
parent | de5bc1b758b5560a7aabee45bdfcefb007c237d9 (diff) | |
download | poky-1308e30379921ff012d3a0530be9afb772c8324c.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.
(From OE-Core rev: e8769d52d6d8c67ba18595ebd27f5022bd0e66c4)
Signed-off-by: Mihaly Varga <mihaly.varga@ni.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | scripts/lib/image/canned-wks/mkhybridiso.wks | 7 |
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 @@ | |||
1 | # short-description: Create a hybrid ISO image | ||
2 | # long-description: Creates an EFI and legacy bootable hybrid ISO image | ||
3 | # which can be used on optical media as well as USB media. | ||
4 | |||
5 | part /boot --source isoimage-isohybrid --sourceparams="loader=grub-efi,image_name=HYBRID_ISO_IMG" --ondisk cd --label HYBRIDISO --fstype=ext3 | ||
6 | |||
7 | bootloader --timeout=15 --append="" | ||