@@ -28,39 +28,53 @@ FILES=(/usr/lib/firmware/edid/arcade_15_25_31.bin /usr/lib/firmware/edid/arcade_
2828# 'filesystems' is _required_ unless you specify your fs modules in MODULES
2929# Examples:
3030## This setup specifies all modules in the MODULES setting above.
31- ## No raid , lvm2, or encrypted root is needed.
31+ ## No RAID , lvm2, or encrypted root is needed.
3232# HOOKS=(base)
3333#
3434## This setup will autodetect all modules for your system and should
3535## work as a sane default
36- # HOOKS=(base udev autodetect block filesystems)
36+ # HOOKS=(base udev autodetect modconf block filesystems fsck )
3737#
3838## This setup will generate a 'full' image which supports most systems.
3939## No autodetection is done.
40- # HOOKS=(base udev block filesystems)
40+ # HOOKS=(base udev modconf block filesystems fsck )
4141#
42- ## This setup assembles a pata mdadm array with an encrypted root FS .
43- ## Note: See 'mkinitcpio -H mdadm ' for more information on raid devices.
44- # HOOKS=(base udev block mdadm encrypt filesystems)
42+ ## This setup assembles a mdadm array with an encrypted root file system .
43+ ## Note: See 'mkinitcpio -H mdadm_udev ' for more information on RAID devices.
44+ # HOOKS=(base udev modconf keyboard keymap consolefont block mdadm_udev encrypt filesystems fsck )
4545#
46- ## This setup loads an lvm2 volume group on a usb device.
47- # HOOKS=(base udev block lvm2 filesystems)
46+ ## This setup loads an lvm2 volume group.
47+ # HOOKS=(base udev modconf block lvm2 filesystems fsck)
48+ #
49+ ## This will create a systemd based initramfs which loads an encrypted root filesystem.
50+ # HOOKS=(base systemd autodetect modconf kms keyboard sd-vconsole sd-encrypt block filesystems fsck)
4851#
4952## NOTE: If you have /usr on a separate partition, you MUST include the
50- # usr, fsck and shutdown hooks.
53+ # usr and fsck hooks.
5154HOOKS=(base udev modconf memdisk archiso archiso_loop_mnt kms block filesystems keyboard plymouth)
5255
5356# COMPRESSION
54- # Use this to compress the initramfs image. By default, gzip compression
55- # is used. Use 'cat' to create an uncompressed image.
57+ # Use this to compress the initramfs image. By default, zstd compression
58+ # is used for Linux ≥ 5.9 and gzip compression is used for Linux < 5.9.
59+ # Use 'cat' to create an uncompressed image.
60+ #COMPRESSION="zstd"
5661#COMPRESSION="gzip"
5762#COMPRESSION="bzip2"
5863#COMPRESSION="lzma"
5964#COMPRESSION="xz"
6065#COMPRESSION="lzop"
6166#COMPRESSION="lz4"
62- COMPRESSION="zstd"
6367
6468# COMPRESSION_OPTIONS
6569# Additional options for the compressor
6670#COMPRESSION_OPTIONS=()
71+
72+ # MODULES_DECOMPRESS
73+ # Decompress loadable kernel modules and their firmware during initramfs
74+ # creation. Switch (yes/no).
75+ # Enable to allow further decreasing image size when using high compression
76+ # (e.g. xz -9e or zstd --long --ultra -22) at the expense of increased RAM usage
77+ # at early boot.
78+ # Note that any compressed files will be placed in the uncompressed early CPIO
79+ # to avoid double compression.
80+ #MODULES_DECOMPRESS="no"
0 commit comments