Skip to content

Ship the disk templates zstd-compressed and expand them to sparse files on first use - #771

Open
BinSquare wants to merge 2 commits into
mainfrom
binbin-compress-storage-template
Open

Ship the disk templates zstd-compressed and expand them to sparse files on first use#771
BinSquare wants to merge 2 commits into
mainfrom
binbin-compress-storage-template

Conversation

@BinSquare

Copy link
Copy Markdown
Contributor

The 20 GiB storage template holds ~650 KiB of real data, and shipping it as a sparse file meant releases depended on tar sparse-encoding interop that GNU tar rejects on macOS-built tarballs and that Nix materializes in full; shipping the compressed bytes instead removes the sparse member entirely and the engine restores the sparse file on first use.

…es on first use, so releases no longer carry a 20 GiB sparse member that GNU tar cannot read
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant