summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/mkinitcpio.conf15
1 files changed, 10 insertions, 5 deletions
diff --git a/etc/mkinitcpio.conf b/etc/mkinitcpio.conf
index 41ad1d16..413a707b 100644
--- a/etc/mkinitcpio.conf
+++ b/etc/mkinitcpio.conf
@@ -56,7 +56,8 @@ HOOKS=(base systemd autodetect keyboard modconf block sd-encrypt filesystems fsc
# COMPRESSION
# Use this to compress the initramfs image. By default, zstd compression
-# is used. Use 'cat' to create an uncompressed image.
+# is used for Linux ≥ 5.9 and gzip compression is used for Linux < 5.9.
+# Use 'cat' to create an uncompressed image.
#COMPRESSION="zstd"
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
@@ -70,7 +71,11 @@ HOOKS=(base systemd autodetect keyboard modconf block sd-encrypt filesystems fsc
#COMPRESSION_OPTIONS=()
# MODULES_DECOMPRESS
-# Decompress kernel modules during initramfs creation.
-# Enable to speedup boot process, disable to save RAM
-# during early userspace. Switch (yes/no).
-#MODULES_DECOMPRESS="yes"
+# Decompress loadable kernel modules and their firmware during initramfs
+# creation. Switch (yes/no).
+# Enable to allow further decreasing image size when using high compression
+# (e.g. xz -9e or zstd --long --ultra -22) at the expense of increased RAM usage
+# at early boot.
+# Note that any compressed files will be placed in the uncompressed early CPIO
+# to avoid double compression.
+#MODULES_DECOMPRESS="no"