mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
flash.sh: Add warning to remind user to not interfere with flashrom operations that will follow
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
This commit is contained in:
parent
e64685beee
commit
87213c503b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user