summaryrefslogtreecommitdiff
path: root/etc/mkinitcpio.conf
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-05-23 21:46:48 -0700
committerXiao Pan <gky44px1999@gmail.com>2024-05-23 21:46:48 -0700
commit037127355cb9596ce6eb3a45e7d7b75541b13a6f (patch)
tree7a0629b9843fb9c5ed6d8d2316d5e9da39e04bf4 /etc/mkinitcpio.conf
parent5791277993ca64ee55602d155d363bdda509aefb (diff)
pacdiff
Diffstat (limited to 'etc/mkinitcpio.conf')
-rw-r--r--etc/mkinitcpio.conf15
1 files changed, 10 insertions, 5 deletions
diff --git a/etc/mkinitcpio.conf b/etc/mkinitcpio.conf
index 045beb21..6e7b85b1 100644
--- a/etc/mkinitcpio.conf
+++ b/etc/mkinitcpio.conf
@@ -56,7 +56,8 @@ HOOKS=(base udev autodetect keyboard modconf block osk-sdl filesystems fsck)
# COMPRESSION
# Use this to compress the initramfs image. By default, gzip 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 udev autodetect keyboard modconf block osk-sdl filesystems fsck)
#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"