Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg/compression: Implement system brotli compression #418

Merged
merged 3 commits into from
Jan 29, 2024

Conversation

iangoegebuer
Copy link
Contributor

This has been tested to decompress and recompress brotli compressed images. So far a brotli compressed OVMF image fails to boot after recompression. It fails at reading the section headers.

This has been tested to decompress and recompress brotli compressed
images. So far a brotli compressed OVMF image fails to boot after
recompression. It fails at reading the section headers.

Signed-off-by: Ian Goegebuer <[email protected]>
With these settings a recompiled OVMF with linuxboot booted

The scratch buffer size needs to be tuned. We don't know what the
system tool uses. Maybe we can know when the go library compresses

Signed-off-by: Ian Goegebuer <[email protected]>
@iangoegebuer iangoegebuer marked this pull request as ready for review October 17, 2023 17:26
@iangoegebuer
Copy link
Contributor Author

@orangecms this was the diff I was talking about at OSFC

@orangecms orangecms merged commit 0ad88a5 into linuxboot:main Jan 29, 2024
1 check passed
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.

3 participants