OSDN Git Service

[fix] : Fixed -e and -a not being applied
[alterlinux/alterlinux.git] / mkinitcpio / mkinitcpio.conf
1 # Yamada Hayao
2 # Twitter: @Hayao0819
3 # Email  : hayao@fascode.net
4 #
5 # (c) 2019-2021 Fascode Network.
6 #
7 # Replaced if Plymouth is enabled.
8 # /etc/mkinitcpio.conf
9 #
10
11 # MODULES
12 # The following modules are loaded before any boot hooks are
13 # run.  Advanced users may wish to specify all system modules
14 # in this array.  For instance:
15 #     MODULES=(piix ide_disk reiserfs)
16 MODULES=()
17
18 # BINARIES
19 # This setting includes any additional binaries a given user may
20 # wish into the CPIO image.  This is run last, so it may be used to
21 # override the actual binaries included by a given hook
22 # BINARIES are dependency parsed, so you may safely ignore libraries
23 BINARIES=()
24
25 # FILES
26 # This setting is similar to BINARIES above, however, files are added
27 # as-is and are not parsed in any way.  This is useful for config files.
28 FILES=()
29
30 # HOOKS
31 # This is the most important setting in this file.  The HOOKS control the
32 # modules and scripts added to the image, and what happens at boot time.
33 # Order is important, and it is recommended that you do not change the
34 # order in which HOOKS are added.  Run 'mkinitcpio -H <hook name>' for
35 # help on a given hook.
36 # 'base' is _required_ unless you know precisely what you are doing.
37 # 'udev' is _required_ in order to automatically load modules
38 # 'filesystems' is _required_ unless you specify your fs modules in MODULES
39 # Examples:
40 ##   This setup specifies all modules in the MODULES setting above.
41 ##   No raid, lvm2, or encrypted root is needed.
42 #    HOOKS=(base)
43 #
44 ##   This setup will autodetect all modules for your system and should
45 ##   work as a sane default
46 #    HOOKS=(base udev autodetect block filesystems)
47 #
48 ##   This setup will generate a 'full' image which supports most systems.
49 ##   No autodetection is done.
50 #    HOOKS=(base udev block filesystems)
51 #
52 ##   This setup assembles a pata mdadm array with an encrypted root FS.
53 ##   Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
54 #    HOOKS=(base udev block mdadm encrypt filesystems)
55 #
56 ##   This setup loads an lvm2 volume group on a usb device.
57 #    HOOKS=(base udev block lvm2 filesystems)
58 #
59 ##   NOTE: If you have /usr on a separate partition, you MUST include the
60 #    usr, fsck and shutdown hooks.
61 HOOKS=(base udev autodetect modconf block filesystems keyboard fsck)
62
63 # COMPRESSION
64 # Use this to compress the initramfs image. By default, zstd compression
65 # is used. Use 'cat' to create an uncompressed image.
66 #COMPRESSION="zstd"
67 #COMPRESSION="gzip"
68 #COMPRESSION="bzip2"
69 #COMPRESSION="lzma"
70 #COMPRESSION="xz"
71 #COMPRESSION="lzop"
72 #COMPRESSION="lz4"
73
74 # COMPRESSION_OPTIONS
75 # Additional options for the compressor
76 #COMPRESSION_OPTIONS=()