canned-wks: add generic-bootdisk kickstart template

This is based off the template in meta-refkit.

It uses the image's boot directory to create a vfat boot partition,
which works with EFI. This works as a WKS_FILE target for the
uefi-comboapp, and will likely be useful in the future as well.

Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
This commit is contained in:
California Sullivan 2017-07-06 18:30:47 -07:00 committed by Saul Wold
parent 8b022e4a9c
commit ad4cbd5d3b

View File

@ -0,0 +1,6 @@
# based off of refkit's refkit-directdisk.wks.in kickstart template
# uses the image's boot directory to populate a vfat boot partition,
# which works with EFI.
bootloader --ptable gpt
part /boot --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/boot --fstype=vfat --label msdos --active --align 1024 --use-uuid
part / --source rootfs --fstype=ext4 --label root --align 1024 --uuid ${DISK_SIGNATURE_UUID}