blob: 95d7b97a6063160ffd7ce94102a94020e7b90459 [file] [log] [blame]
Patrick Williamsc0f7c042017-02-23 20:41:17 -06001# short-description: Create an EFI disk image with systemd-boot
2# long-description: Creates a partitioned EFI disk image that the user
3# can directly dd to boot media. The selected bootloader is systemd-boot.
4
Brad Bishopd7bf8c12018-02-25 22:55:05 -05005part /boot --source bootimg-efi --sourceparams="loader=systemd-boot" --ondisk sda --label msdos --active --align 1024 --use-uuid
Patrick Williamsc0f7c042017-02-23 20:41:17 -06006
Brad Bishop37a0e4d2017-12-04 01:01:44 -05007part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid
Patrick Williamsc0f7c042017-02-23 20:41:17 -06008
Brad Bishopd7bf8c12018-02-25 22:55:05 -05009part swap --ondisk sda --size 44 --label swap1 --fstype=swap --use-uuid
Patrick Williamsc0f7c042017-02-23 20:41:17 -060010
11bootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=ext4 console=ttyS0,115200 console=tty0"