me
/
guix
Archived
1
0
Fork 0
This repository has been archived on 2024-08-07. You can view files and clone it, but cannot push or open issues/pull-requests.
guix/gnu/system
Maxim Cournoyer afacfa33ec
gnu: linux-libre: Enable Zstd compression of kernel modules.
This brings the on disk size of the kernel from 164 MiB to 144 MiB, or about
12%.

* gnu/packages/linux.scm (default-extra-linux-options)
[version>=5.13]: Enable CONFIG_MODULE_COMPRESS_ZSTD, else
CONFIG_MODULE_COMPRESS_GZIP.
(make-linux-libre*) [phases] {set-environment}: Set ZSTD_CLEVEL environment
variable to 19.
[native-inputs]: Add zstd.
* gnu/build/linux-modules.scm (module-regex): Add .zst to regexp.  Update doc.
(modinfo-section-contents): Extend support to Zstd compressed module.
(dot-ko): Register the 'zstd compression type.
(ensure-dot-ko, file-name->module-name, load-linux-module*)
(module-name->file-name/guess, write-module-name-database)
(write-module-alias-database, write-module-device-database): Update doc.
(module-name-lookup): Also consider zstd-compressed modules.
* gnu/installer.scm (installer-program): Add guile-zstd extension to gexp.
* gnu/system/linux-initrd.scm (flat-linux-module-directory): Likewise.
Decompress zstd-compressed modules for use in initrd.
* guix/profiles.scm (linux-module-database): Add guile-zstd extension to gexp.

Change-Id: Ide899dc5c58ea5033583b1a91a92c025fc8d901a
2024-05-29 22:01:23 -04:00
..
examples system: Remove nss-certs from OS templates, adjust doc. 2024-04-18 10:43:06 -04:00
images system: images: Add visionfive2 module. 2024-05-22 11:15:30 +08:00
accounts.scm Revert "system: accounts: Export <user-account>." 2023-10-05 23:14:54 +02:00
file-systems.scm file-systems: Add "virtiofs" to the list of pseudo file system types. 2024-05-13 16:31:34 +02:00
hurd.scm system: hurd: Use the Shepherd 0.10.x. 2024-01-08 23:14:46 +01:00
image.scm image: Raise error when use both grub-efi* bootloader and not gpt image. 2024-05-22 11:15:29 +08:00
install.scm system: Remove nss-certs from OS templates, adjust doc. 2024-04-18 10:43:06 -04:00
keyboard.scm
linux-container.scm linux-container: Inherit essential services. 2024-02-05 22:29:45 +01:00
linux-initrd.scm gnu: linux-libre: Enable Zstd compression of kernel modules. 2024-05-29 22:01:23 -04:00
locale.scm locale: Shrink ‘%default-locale-definitions’ from 34 to 10 locales. 2024-04-29 22:52:08 +02:00
mapped-devices.scm mapped-devices: lvm: Add missing module import. 2024-05-27 19:30:22 +02:00
nss.scm
pam.scm system: pam: Change 'stop' method to return #f. 2023-05-21 01:04:39 +02:00
setuid.scm
shadow.scm system: default-bash-profile: Add Guix Home search paths as well. 2024-02-28 16:55:20 +01:00
uuid.scm uuid: Fix NTFS UUID stringification. 2023-06-18 02:00:10 +02:00
vm.scm vm: Always use a native emulator in ‘guix system vm’. 2024-04-17 12:13:01 +02:00