Skip to content

Compress final images with zstd instead of pigz#106

Draft
Yury-MonZon wants to merge 1 commit into
devfrom
image-zstd-rockusb
Draft

Compress final images with zstd instead of pigz#106
Yury-MonZon wants to merge 1 commit into
devfrom
image-zstd-rockusb

Conversation

@Yury-MonZon

Copy link
Copy Markdown
Contributor

Switches the final flashable image compression from pigz (gzip) to zstd.

Changes

  • build-images.sh: pigz -c … > …img.gzzstd -f -T0 -8 -o …img.zst …, for both the bootloader and -nobootloader images.
  • Dockerfile: build dependency pigzzstd.

Blocked on: rockusb

The device flashing path (rockusb) must decompress .zst images — today it expects .img.gz. Draft until that lands.

Also needs a buildbot config change

Artifact-collection steps that glob debian-*.img.gz must be updated to .img.zst (buildbot master config, not this repo).

@Yury-MonZon
Yury-MonZon marked this pull request as ready for review July 8, 2026 15:17
@Yury-MonZon
Yury-MonZon requested a review from a team July 8, 2026 15:17
@Yury-MonZon
Yury-MonZon marked this pull request as draft July 9, 2026 13:35
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.

1 participant