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

sys-kernel/linux-firmware: add option to compress with zstd #29963

Closed
wants to merge 1 commit into from

Conversation

puleglot
Copy link
Contributor

@puleglot puleglot commented Mar 6, 2023

With compression level 15 zstd is still much faster than xz and allows to save some space compared to default level 3:

  • uncompressed: 872M
  • zstd: 412M
  • zstd (-15): 400M
  • xz: 364M

Also some fixes:

  • do not rename symlinks pointing to directories
  • add missing build-time dependencies
  • call linux_config_exists before doing kernel config checks

Closes: https://bugs.gentoo.org/899958

With compression level 15 zstd is still much faster than xz and allows
to save some space compared to default level 3:
* uncompressed: 872M
* zstd:         412M
* zstd (-15):   400M
* xz:           364M

Also some fixes:
* do not rename symlinks pointing to directories
* add missing build-time dependencies
* call linux_config_exists before doing kernel config checks

Closes: https://bugs.gentoo.org/899958
Signed-off-by: Alexander Tsoy <alexander@tsoy.me>
@gentoo-repo-qa-bot
Copy link
Collaborator

Pull request CI report

Report generated at: 2023-03-06 21:03 UTC
Newest commit scanned: 5237598
Status: ✅ good

There are existing issues already. Please look into the report to make sure none of them affect the packages in question:
https://qa-reports.gentoo.org/output/gentoo-ci/a75d73dd66/output.html

@gentoo-bot
Copy link

Pull Request assignment

Submitter: @puleglot
Areas affected: ebuilds
Packages affected: sys-kernel/linux-firmware

sys-kernel/linux-firmware: chithanh, @ZeroChaos-, @mpagano, @gentoo/kernel

Linked bugs

Bugs linked: 899958


In order to force reassignment and/or bug reference scan, please append [please reassign] to the pull request title.

Docs: Code of ConductCopyright policy (expl.) ● DevmanualGitHub PRsProxy-maint guide

@gentoo-bot gentoo-bot added assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR. labels Mar 8, 2023
@puleglot puleglot deleted the linux-firmware-compress branch March 14, 2023 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned PR successfully assigned to the package maintainer(s). bug linked Bug/Closes found in footer, and cross-linked with the PR.
Projects
None yet
3 participants