Skip to content
Snippets Groups Projects
Commit 86594951 authored by Andrei Gherzan's avatar Andrei Gherzan :penguin:
Browse files

x-efi-systemd-microcode.wks.in: Let the bootloader timeout be configurable


In this way, a blueprint can set a silent bootloader.

Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
parent e70a83fb
No related branches found
No related tags found
No related merge requests found
...@@ -33,6 +33,8 @@ APPDATA_PARTITION_SIZE ?= "1G" ...@@ -33,6 +33,8 @@ APPDATA_PARTITION_SIZE ?= "1G"
# Default root filesystem type is squashfs. # Default root filesystem type is squashfs.
ROOT_FSTYPE ?= "squashfs" ROOT_FSTYPE ?= "squashfs"
WIC_BOOOTLOADER_TIMEOUT ?= "5"
# #
# Use this to include extra wic configuration per partition # Use this to include extra wic configuration per partition
# #
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
# | | # | |
# 0 4096KiB # 0 4096KiB
bootloader --ptable gpt --timeout=5 --append=" rootfstype=${ROOT_FSTYPE} " bootloader --ptable gpt --timeout=${WIC_BOOOTLOADER_TIMEOUT} --append=" rootfstype=${ROOT_FSTYPE} "
part --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=microcode.cpio" --label ${BOOT_PARTITION_LABEL} --align 4096 --fixed-size ${BOOT_PARTITION_SIZE} --active --offset 4096 part --source bootimg-efi --sourceparams="loader=systemd-boot,initrd=microcode.cpio" --label ${BOOT_PARTITION_LABEL} --align 4096 --fixed-size ${BOOT_PARTITION_SIZE} --active --offset 4096
${WIC_ROOTA_PARTITION} ${WIC_ROOTA_PARTITION}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment