Skip to content

Commit 87213c5

Browse files
committed
flash.sh: Add warning to remind user to not interfere with flashrom operations that will follow
Signed-off-by: Thierry Laurion <[email protected]>
1 parent e64685b commit 87213c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

initrd/bin/flash.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ flash_rom() {
4848
dd if=/tmp/pchstrp9.bin bs=1 count=4 seek=292 of=/tmp/${CONFIG_BOARD}.rom conv=notrunc >/dev/null 2>&1
4949
fi
5050

51+
warn "Do not power off computer. Updating firmware, this will take a few minutes..."
5152
flashrom $CONFIG_FLASHROM_OPTIONS -w /tmp/${CONFIG_BOARD}.rom 2>&1 \
5253
|| die "$ROM: Flash failed"
5354
fi

0 commit comments

Comments
 (0)