Skip to content
This repository was archived by the owner on Aug 18, 2024. It is now read-only.

Commit 36d4539

Browse files
author
Xaryx
authored
Create mkinitcpio.conf
1 parent 82477fb commit 36d4539

File tree

1 file changed

+73
-0
lines changed

1 file changed

+73
-0
lines changed
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
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=(usbhid xhci_hcd)
7+
MODULES=(amdgpu i915)
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 modconf block filesystems fsck)
38+
#
39+
## This setup will generate a 'full' image which supports most systems.
40+
## No autodetection is done.
41+
# HOOKS=(base udev modconf block filesystems fsck)
42+
#
43+
## This setup assembles a mdadm array with an encrypted root file system.
44+
## Note: See 'mkinitcpio -H mdadm_udev' for more information on RAID devices.
45+
# HOOKS=(base udev modconf keyboard keymap consolefont block mdadm_udev encrypt filesystems fsck)
46+
#
47+
## This setup loads an lvm2 volume group.
48+
# HOOKS=(base udev modconf block lvm2 filesystems fsck)
49+
#
50+
## NOTE: If you have /usr on a separate partition, you MUST include the
51+
# usr and fsck hooks.
52+
HOOKS=(base udev autodetect modconf kms keyboard keymap consolefont block filesystems fsck plymouth)
53+
54+
# COMPRESSION
55+
# Use this to compress the initramfs image. By default, zstd compression
56+
# is used. Use 'cat' to create an uncompressed image.
57+
#COMPRESSION="zstd"
58+
#COMPRESSION="gzip"
59+
#COMPRESSION="bzip2"
60+
#COMPRESSION="lzma"
61+
#COMPRESSION="xz"
62+
#COMPRESSION="lzop"
63+
#COMPRESSION="lz4"
64+
65+
# COMPRESSION_OPTIONS
66+
# Additional options for the compressor
67+
#COMPRESSION_OPTIONS=()
68+
69+
# MODULES_DECOMPRESS
70+
# Decompress kernel modules during initramfs creation.
71+
# Enable to speedup boot process, disable to save RAM
72+
# during early userspace. Switch (yes/no).
73+
#MODULES_DECOMPRESS="yes"

0 commit comments

Comments
 (0)