Skip to content

installer: allow saved kernel headers during EFI history cleanup - #62

Merged
chriskearney merged 9 commits into
integration/aurorafrom
fix/esp-history-metadata
Oct 11, 2026
Merged

chriskearney merged 9 commits into
integration/aurorafrom
fix/esp-history-metadata

Conversation

@chriskearney

Copy link
Copy Markdown

EFI history cleanup rejected normal symlinks in saved kernel headers, preventing updates on small ESPs. Exclude state-root modules-* and esp-history payload directories from boot-reference discovery; preserve strict symlink checks on the ESP and remaining boot metadata, including a dangling state-root link. Update the embedded installer helper to match.

Fixes #19. Based on the reviewed downloader in #55; no additional download behavior changes.

Validation: 17 focused custody/failure controls pass, including realistic saved headers, recovery-reference retention, verified restore bytes, hostile metadata file/directory links, changed references, damaged archives and failed writes. The original helper rejects the same saved-header fixture. Independent adversarial review passes; generated installer assembled with unchanged .13 packages passes its focused/release controls (55 pass, 18 historical/optional skips). Shell syntax and diff checks pass.

Preserves the newest two backups in each history class and every referenced backup. No lower free-space threshold, bootloader/kernel/Mesa changes, hardware execution or release asset changes. The original reporter’s update/space retest remains useful after delivery.

joshuaswarren and others added 9 commits October 11, 2026 10:43
…ing it a packaging mistake

curl --retry repeats only timeouts and HTTP 408, 429 and 5xx, and it restarts at byte 0. An HTTP/2 stream reset (curl exit 92) was not retried, and any
failure printed 'the release is missing a file'. The release download loop now calls fetch_release_file: one curl -C - per try, five tries, so each try
continues from the bytes on disk. Only a 4xx answer keeps the missing-file message; a dropped connection says to run the same command again.

Signed-off-by: Chris Kearney <[email protected]>
…s, restart on exit 33

After five HTTP 503 answers fetch_release_file returned 22, so install_all
printed the packaging-mistake text for a server outage. It now returns 22
only for an immediate 4xx and 100 after five server errors. The failure text
covers both. Added --connect-timeout 30 --speed-limit 1024 --speed-time 60
so a stalled transfer ends. On curl exit 33 (server ignored the Range
request) the partial file is removed and the next try starts at byte 0.

Signed-off-by: Chris Kearney <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

EFI history cleanup: tolerate module-header symlinks while protecting boot references

2 participants