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