Skip to content
Snippets Groups Projects
Commit 9c201a1c authored by Zygmunt Krynicki's avatar Zygmunt Krynicki
Browse files

wic: respect WIC_BOOTLOADER_TIMEOUT in qemu configs


While doing other maintenance in this area I've noticed that some
kickstart files use hard-coded timeout values instead of the
WIC_BOOTLOADER_TIMEOUT variable defined by Oniro.

Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
parent 4834c3c0
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
# long-description: Creates a partitioned EFI disk image that the user
# can directly dd to boot media.
bootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=squashfs"
bootloader --ptable gpt --timeout=${WIC_BOOTLOADER_TIMEOUT} --append="rootwait rootfstype=squashfs"
part /boot --source bootimg-efi --sourceparams="loader=${EFI_PROVIDER}" --label boot --active --align 1024 --use-uuid
${WIC_ROOTA_PARTITION}
${WIC_ROOTB_PARTITION}
......
......@@ -18,7 +18,7 @@
# 0 |
# 4096KiB
bootloader --source bootimg-pcbios --timeout=0 --append="oprofile.timer=1 rootfstype=${ROOT_FSTYPE}"
bootloader --source bootimg-pcbios --timeout=${WIC_BOOTLOADER_TIMEOUT} --append="oprofile.timer=1 rootfstype=${ROOT_FSTYPE}"
part --source bootimg-pcbios --label ${BOOT_PARTITION_LABEL} --align 4096 --fixed-size ${BOOT_PARTITION_SIZE} --active --offset 4096
${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