container
container copied to clipboard
[Request]: Resume kernel downloads and reuse verified installations
container system kernel set --recommended downloads a large kernel archive from scratch after an interruption. Re-running it can also download the same archive again when the extracted kernel is already installed.
The kernel installer should:
- retain an incomplete archive under a digest-keyed path and resume it with an HTTP Range request;
- validate partial responses, restart when the server ignores or cannot satisfy the range, and discard archives that fail SHA-256 verification;
- record the installed kernel filename and SHA-256 after a successful install;
- skip network I/O on later non-
--forceinstalls when that recorded kernel still matches, while keeping--forceas an explicit re-download and replacement.
This makes interrupted recommended-kernel installs recoverable and avoids repeated downloads without trusting legacy files that have no installation metadata.