mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 12:59:03 +02:00
wic: add systemd-bootdisk-microcode.wks
Add wic kickstart file that includes microcode as an initrd for early
update support.
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
(cherry picked from commit 4471c6835a
)
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
This commit is contained in:
parent
fe45bbfe7c
commit
83d3135660
13
wic/systemd-bootdisk-microcode.wks
Normal file
13
wic/systemd-bootdisk-microcode.wks
Normal file
|
@ -0,0 +1,13 @@
|
|||
# short-description: Create an EFI disk image with systemd-boot
|
||||
# long-description: Creates a partitioned EFI disk image that the user
|
||||
# can directly dd to boot media. The selected bootloader is systemd-boot.
|
||||
# It also includes intel-microcode as an initrd for early update support.
|
||||
# Based on OE-core's systemd-bootdisk.wks file.
|
||||
|
||||
part /boot --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=microcode.cpio" --ondisk sda --label msdos --active --align 1024 --use-uuid
|
||||
|
||||
part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid
|
||||
|
||||
part swap --ondisk sda --size 44 --label swap1 --fstype=swap --use-uuid
|
||||
|
||||
bootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=ext4 console=ttyS0,115200 console=tty0"
|
Loading…
Reference in New Issue
Block a user