aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/canned-wks/mkefidisk.wks
blob: d1878e23e5a36beca06210cf2d743ceed2351a28 (plain)
1
2
3
4
5
6
7
8
9
10
11
# short-description: Create an EFI disk image
# long-description: Creates a partitioned EFI disk image that the user
# can directly dd to boot media.

part /boot --source bootimg-efi --sourceparams="loader=grub-efi" --ondisk sda --label msdos --active --align 1024

part / --source rootfs --ondisk sda --fstype=ext4 --mkfs-extraopts "-T default"  --label platform --align 1024 --use-uuid

part swap --ondisk sda --size 44 --label swap1 --fstype=swap

bootloader --ptable gpt --timeout=5 --append="rootfstype=ext4 console=ttyS0,115200 console=tty0"