You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: stop set -e from aborting USB boot-entry detection
The PARTUUID match (Strategy 1) runs grep against efibootmgr output;
when the USB entry has no HD(GPT,<partuuid>) device path, grep exits
non-zero. Under set -euo pipefail that failing command substitution
aborted the whole remote script right after printing the boot entries,
before Strategy 2/3 or the error handler could run -- so the flash
succeeded but the stage failed with no diagnostic (seen in run #84).
Add `|| true` to the grep substitutions and lsblk calls so a legitimate
no-match falls through to the next strategy. Simulated against real #84
efibootmgr output (resolves to the USB entry), a generic no-brand stick
(USB-label match), and a no-USB host (reaches the error handler).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments