diff --git a/meta-oniro-core/conf/distro/include/oniro-wic.inc b/meta-oniro-core/conf/distro/include/oniro-wic.inc index ac843b04e630e2436049d59331c0ee561ce95ac6..01ebeee596dab07beead9826f4fc75a90a7bcb5a 100644 --- a/meta-oniro-core/conf/distro/include/oniro-wic.inc +++ b/meta-oniro-core/conf/distro/include/oniro-wic.inc @@ -33,6 +33,8 @@ APPDATA_PARTITION_SIZE ?= "1G" # Default root filesystem type is squashfs. ROOT_FSTYPE ?= "squashfs" +WIC_BOOOTLOADER_TIMEOUT ?= "5" + # # Use this to include extra wic configuration per partition # diff --git a/meta-oniro-core/wic/x-efi-systemd-microcode.wks.in b/meta-oniro-core/wic/x-efi-systemd-microcode.wks.in index 89af7d87c0016f8f6675077b78e3e0ba01ed948f..e4422f8225af14c113604a1f3aab6aee4bb81bbb 100644 --- a/meta-oniro-core/wic/x-efi-systemd-microcode.wks.in +++ b/meta-oniro-core/wic/x-efi-systemd-microcode.wks.in @@ -16,7 +16,7 @@ # | | # 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 ${WIC_ROOTA_PARTITION}