mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
Merge pull request #1756 from tlaurion/add_warn_prior_flashrom_call
flash.sh: Add warning to remind user to not interfere with flashrom operations that will follow
This commit is contained in:
commit
eb88b189e7
@ -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