fix: shellcheck in the bundle, and the docs for the BIOS checks

- Rename a variable in lib/bios.sh that clashed with lib/state.sh's array in the bundle.
- README, AGENTS.md and CHANGELOG.md for the greyed-out item, the device check and the aligned warning box.
This commit is contained in:
theupriser committed 2026-09-24 10:30:24 +02:00
1 parent 40c9ee638b
commit b70c9d614f
4 files changed
+30 -8

No files matched your search

+7 -4
View File
@@ -286,10 +286,13 @@ journalctl --user -b | grep -i led
**BIOS updates** (opt-in, never ticked by default). On a Steam Machine the menu
has an **Update BIOS** item that shows the current BIOS version and the newest
one Valve ships (`F7F0108.cab` in its `fremont-hw-support` package, looked up
on Valve's SteamOS mirror). Ticking it shows a large warning, asks for
confirmation, shows the warning again and only continues when you type
`UPDATE`. It then downloads the package (checksum verified) and hands the
firmware to fwupd; the BIOS is written during the next restart.
on Valve's SteamOS mirror). It can only be ticked when Valve has a newer BIOS
than the one installed; otherwise it's greyed out. Before asking anything it
downloads the package and checks it: the SHA-256 from Valve's repository
proves it's Valve's file, and fwupd confirms the firmware is for this very
machine (it compares the firmware's hardware IDs with the device). Only then
it shows a large warning and asks for confirmation, shows the warning again
and continues when you type `UPDATE`; the BIOS is written during the next restart.
**At your own risk:** a failed or interrupted BIOS update can leave the machine
unable to start. Keep it on mains power, and never turn off the power, unplug