From 87213c503b443a11cb26ceb329dac7dff7134f7f Mon Sep 17 00:00:00 2001 From: Thierry Laurion Date: Fri, 23 Aug 2024 13:00:29 -0400 Subject: [PATCH] flash.sh: Add warning to remind user to not interfere with flashrom operations that will follow Signed-off-by: Thierry Laurion --- initrd/bin/flash.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/initrd/bin/flash.sh b/initrd/bin/flash.sh index d807ff26..00f2801f 100755 --- a/initrd/bin/flash.sh +++ b/initrd/bin/flash.sh @@ -48,6 +48,7 @@ flash_rom() { dd if=/tmp/pchstrp9.bin bs=1 count=4 seek=292 of=/tmp/${CONFIG_BOARD}.rom conv=notrunc >/dev/null 2>&1 fi + warn "Do not power off computer. Updating firmware, this will take a few minutes..." flashrom $CONFIG_FLASHROM_OPTIONS -w /tmp/${CONFIG_BOARD}.rom 2>&1 \ || die "$ROM: Flash failed" fi