mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 12:59:03 +02:00
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:
parent
8b022e4a9c
commit
ad4cbd5d3b
6
scripts/lib/wic/canned-wks/generic-bootdisk.wks.in
Normal file
6
scripts/lib/wic/canned-wks/generic-bootdisk.wks.in
Normal 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}
|
Loading…
Reference in New Issue
Block a user