summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-05-04 15:55:07 -0700
committerXiao Pan <gky44px1999@gmail.com>2024-05-04 23:57:28 +0000
commit0a3210c680f053ca3c9f5f632860b6522a00c111 (patch)
treecd37bb285b357d72b28440bdb896eafb5c597bc5 /etc
parentd3a72aad9cafc8228ea0608a9f0a0949da288c0e (diff)
pacnew, but no add microcode hook
According to https://wiki.archlinux.org/title/Microcode#GRUB, it seems my grub auto configure early loading of microcode for me. See /boot/grub/grub.cfg, it has a line of `initrd /intel-ucode.img ...`. So I think maybe no need microcode hook in mkinitcpio.conf. Also `journalctl -k --grep=microcode` check works fine.
Diffstat (limited to 'etc')
-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"