mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 12:59:03 +02:00
wic: add wks for enabling grub-efi bootloader
Use our own wks when grub-efi is used and make sure that microcode is early loaded. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
parent
ef94155d9e
commit
902d162d3e
12
wic/grub-bootdisk-microcode.wks
Normal file
12
wic/grub-bootdisk-microcode.wks
Normal file
|
@ -0,0 +1,12 @@
|
|||
# short-description: Create an EFI disk image with grub-efi
|
||||
# long-description: Creates a partitioned EFI disk image that the user
|
||||
# can directly dd to boot media. The selected bootloader is grub-efi.
|
||||
# It also includes intel-microcode as an initrd for early update support.
|
||||
|
||||
part /boot --source bootimg-efi --sourceparams="loader=grub-efi,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