From d05f05c94fd7a1916942e56d7f486c142ae5661e Mon Sep 17 00:00:00 2001 From: Tim Gover Date: Sun, 15 Sep 2024 18:27:09 +0100 Subject: [PATCH] rpi-eeprom-config: Increase the timeout for flashrom shell-cmd 20 seconds is a little too short for safety with flashrom if every page has to be erased and re-written. Bump this to 60 seconds which is probably too long but nothing good will come from interrupting flashrom. --- rpi-eeprom-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpi-eeprom-config b/rpi-eeprom-config index 8b985d8..e7370d7 100755 --- a/rpi-eeprom-config +++ b/rpi-eeprom-config @@ -180,7 +180,7 @@ def apply_update(config, eeprom=None, config_src=None): # If flashrom is used then the command will not return until the EEPROM # has been updated so use a larger timeout. - shell_cmd(args, timeout=20, echo=True) + shell_cmd(args, timeout=60, echo=True) def edit_config(eeprom=None): """