mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-08 10:52:03 +01:00
sys-kernel/coreos-modules: compress modules with xz
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 ```
This commit is contained in:
parent
2900eb190e
commit
9444595cfb
@ -435,6 +435,8 @@ CONFIG_MMC_BLOCK_MINORS=16
|
|||||||
CONFIG_MMC_SDHCI=m
|
CONFIG_MMC_SDHCI=m
|
||||||
CONFIG_MMC_SDHCI_PCI=m
|
CONFIG_MMC_SDHCI_PCI=m
|
||||||
CONFIG_MODULES=y
|
CONFIG_MODULES=y
|
||||||
|
CONFIG_MODULE_COMPRESS=y
|
||||||
|
CONFIG_MODULE_COMPRESS_XZ=y
|
||||||
CONFIG_MODULE_SIG=y
|
CONFIG_MODULE_SIG=y
|
||||||
CONFIG_MODULE_SIG_KEY="certs/modules.pem"
|
CONFIG_MODULE_SIG_KEY="certs/modules.pem"
|
||||||
CONFIG_MODULE_SIG_SHA256=y
|
CONFIG_MODULE_SIG_SHA256=y
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user