From 3dee4a4e009b3dcb3dd81364d790e38532a55472 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Sat, 4 May 2024 15:55:07 -0700 Subject: 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. --- etc/mkinitcpio.conf | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'etc') 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" -- cgit v1.2.3-70-g09d2