Repository navigation
installer: allow saved kernel headers during EFI history cleanup - #62
Merged
Merged
Conversation
…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]>
Signed-off-by: Chris Kearney <[email protected]>
Signed-off-by: Chris Kearney <[email protected]>
Signed-off-by: Chris Kearney <[email protected]>
Signed-off-by: Chris Kearney <[email protected]>
Signed-off-by: Chris Kearney <[email protected]>
Signed-off-by: Chris Kearney <[email protected]>
Signed-off-by: Chris Kearney <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
EFI history cleanup rejected normal symlinks in saved kernel headers, preventing updates on small ESPs. Exclude state-root
modules-*andesp-historypayload 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.