diff mbox series

[isar-cip-core] efibootguard: Set a non-zero default timeout

Message ID 44e0f50c-4e8c-8db7-ff7a-9796aa5ade93@siemens.com (mailing list archive)
State New
Headers show
Series [isar-cip-core] efibootguard: Set a non-zero default timeout | expand

Commit Message

Jan Kiszka June 14, 2021, 10:30 a.m. UTC
From: Jan Kiszka <jan.kiszka@siemens.com>

This was zero by default because of problems with the iTCO support for
QEMU. Those are fixed now with v0.8.

Also permit overriding WDOG_TIMEOUT from now on.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 kas/opt/efibootguard.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/kas/opt/efibootguard.yml b/kas/opt/efibootguard.yml
index d5a0e39..705a76d 100644
--- a/kas/opt/efibootguard.yml
+++ b/kas/opt/efibootguard.yml
@@ -21,7 +21,7 @@  local_conf_header:
     SWUPDATE_BOOTLOADER = "efibootguard"
 
   efibootguard-wic: |
-    WDOG_TIMEOUT = "0"
+    WDOG_TIMEOUT ?= "60"
     WICVARS += "WDOG_TIMEOUT"
     IMAGE_TYPE ?= "wic-img"
     WKS_FILE ?= "${MACHINE}-${SWUPDATE_BOOTLOADER}.wks"