This repository was archived by the owner on May 30, 2023. It is now read-only.
Merged
Conversation
added 2 commits
October 2, 2020 09:29
Compress every kernel module with xz (lzma), to make more free space in the rootfs. Before: ``` $ sudo du -s /usr/lib64/modules/$(uname -r)/kernel/ 90472 /usr/lib64/modules/5.8.11-flatcar/kernel/ $ df /usr Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/usr 1007760 916024 39720 96% /usr ``` After: ``` $ sudo du -s /usr/lib64/modules/$(uname -r)/kernel/ 26908 /usr/lib64/modules/5.8.11-flatcar/kernel/ $ df /usr Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/usr 1007760 845468 110276 89% /usr ```
Now that Kernel modules are compressed with xz, the sys-apps/kmod utility also needs to be built with xz/lzma supported.
pothos
approved these changes
Oct 2, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Compress every kernel module with xz (lzma), to make more free space in the rootfs.
Before:
After:
How to use
Testing done
CI passed for both amd64 and arm64.