summaryrefslogtreecommitdiffstats
path: root/wic/systemd-bootdisk-microcode.wks.in
diff options
context:
space:
mode:
Diffstat (limited to 'wic/systemd-bootdisk-microcode.wks.in')
-rw-r--r--wic/systemd-bootdisk-microcode.wks.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/wic/systemd-bootdisk-microcode.wks.in b/wic/systemd-bootdisk-microcode.wks.in
new file mode 100644
index 0000000..0352895
--- /dev/null
+++ b/wic/systemd-bootdisk-microcode.wks.in
@@ -0,0 +1,13 @@
1# 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# It also includes intel-microcode as an initrd for early update support.
5# Based on OE-core's systemd-bootdisk.wks file.
6
7part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=microcode.cpio" --ondisk sda --label msdos --active --align 1024 --use-uuid
8
9part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid
10
11part swap --ondisk sda --size 44 --label swap1 --fstype=swap --use-uuid
12
13bootloader --ptable gpt --timeout=5 --append="rootfstype=ext4 ${APPEND}"