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

Switch RHEL10 back to lzma #1447

Merged
merged 2 commits into from
Jan 20, 2025
Merged

Switch RHEL10 back to lzma #1447

merged 2 commits into from
Jan 20, 2025

Conversation

bcl
Copy link
Contributor

@bcl bcl commented Jan 20, 2025

No description provided.

bcl added 2 commits January 20, 2025 13:50
This reverts commit c7bedf6.

Currently the RHEL10 kernel does not support zstd compression for erofs,
so we will use lzma by default. It can always be overridden using a
config file.

Related: RHEL-48606
After some experimentation these seem to be reasonable defaults:

mkfs.erofs -z lzma -Ededupe,all-fragments -C 131072 --all-time ...

Higher compression levels above the default of 6 don't make smaller
images. The dedupe and all-fragment options, while they make it run
slower, result in a smaller image size (about 75MB smaller), and
--all-time reduces it by about another megabyte.

These can always be overridden by creating a config file like this:

[compression.erofs]
type = lzma
args = -C 131072

and passing it to lorax with the '--config PATH' argument.

Related: RHEL-48606
@bcl bcl merged commit 7a0c301 into weldr:rhel10-branch Jan 20, 2025
2 checks 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.

1 participant