linuxboot / heads

A minimal Linux that runs as a coreboot or LinuxBoot ROM payload to provide a secure, flexible boot environment for laptops, workstations and servers.
https://osresearch.net/
GNU General Public License v2.0
1.41k stars 185 forks source link

flash.sh: Add warning to remind user to not interfere with flashrom operations that will follow #1756

Closed tlaurion closed 1 month ago

tlaurion commented 1 month ago

Add a warning prior of calling flashrom reminding end user to not poweroff and wait while flashing operation finishes.

Message prior of version dependent flashrom output will now be :

WARNING: Do not power off computer. Updating firmware, this will take a few minutes...


Reasoning, as per https://github.com/linuxboot/heads/pull/1753#issuecomment-2307255469:

So on master with flashrom 1.3:

Under this PR containing flashrom 1.4: