forked from tokiclover/mkinitramfs-ll
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkinitramfs-ll.conf.in-sh
123 lines (112 loc) · 4 KB
/
mkinitramfs-ll.conf.in-sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
#
# Header: mkinitramfs-ll/mkinitramfs-ll.conf, 2015/05/28 Exp
#
# To enable default options e.g. {all,luks,lvm,toi,gpg,squashd} use 'option_luks=:',
# 'option_lvm=:' etc.
#
# module_<group> a list of kernel module group, nls_cp437,vfat should be putted
# to remdev group for vfat remdev users for example.
#
# Support kernel module dependencies, so no need to stuff modules groups;
# Support kernel module groups in the boot group e.g. kms group.
#
# Support an improved regular expression kernel module name, e.g. appending
# `serpent' to module_dm_crypt would rightly add serpent_generic and
# architecture specific modules serpent-{avx{2,-x86_64},sse-x86_64}.
#
# Support extended kernel module group that can be appended directly to
# `module' kernel cmdline argument: module=group;
# just create module_<group> grooups and then append them to module_group.
#
# Every item if built as module will be included or nothing if not, so one
# can leave as is or add a few items.
#
#
# Default kernel module groups (WARN: Replace `_' by `-' in `module_group',
# e.g `module_dm_crypt' contains the list of `dm-crypt' group, so, append
# `dm-crypt' group name to `module_group'.)
# User groups are also supported e.g. kms module group
#
module_boot="kms crc32 btrfs ext2 ext3 ext4 jfs xfs thunderbolt-net thunderbolt intel-wmi intel-hid hid-generic i2c-hid i2c-isch i2c-i801 i2c-smbus spi-pxa2xx-platform spi-pxa2xx-pci intel-lpss-pci intel-lpss-acpi pwm-lpss pwm-lpss-platform"
module_boot="kms ext2 ext3 ext4"
module_device_mapper="dm-thin-pool dm-multipath dm-snapshot dm-cache dm-log dm-mirror"
module_dm_crypt="aes dm-crypt sha256 sha512 wp512 ecb lrw xts twofish serpent"
module_dm_raid="dm-raid dm-mirror dm-multipath dm-snapshot"
module_gpg="cast5"
module_kms="i915 nouveau radeon"
module_raid="raid0 raid10 raid1 raid456"
module_remdev="nls_cp437 vfat"
module_squashd="aufs overlay squashfs"
module_swsusp=""
module_tuxonice="tuxonice_swap tuxonice_userui tuxonice_file"
module_zfs="zlib_deflate spl zavl zcommon znvpair zunicode zfs"
module_zram="zram"
module_bcache="bcache"
module_btrfs="btrfs"
firmwares="${firmwares} iwlwifi-7260"
#
# A list of kernel modules to include in the initramfs that can be loaded
# at boot time if passed to *module* kernel cmdline argument
#
modules="boot kms remdev swsusp uvesafb"
#
# Default kernel module group included in the initramfs
#
module_group="boot kms remdev swsusp"
#
# A list of binaries to include into the initramfs, library
# dependencies will be copied over using `$(ldd /path/to/bin)'.
#
bins="blkid v86d"
#
# bin_<hook> are list of binaries to include if <hook> hook or script
# is included in the initramfs
#
bin_zfs="zfs zpool mount.zfs zdb fsck.zfs"
bin_btrfs="btrfs btrfsck fsck.btrfs"
#
# A colon separated list of console fonts to include into the initramfs
#
fonts="ter-g12n ter-g14n ter-112n ter-v12n"
#
# A colon separated list of keymap to include in the initramfs
#
keymaps="azerty dvorak unicode"
#
# Enable LVM[2]
#
#option_lvm=:
#
# Enable dm-crypt LUKS
#
#option_luks=:
#
# Enable extra flesystem
#
#hooks="${hooks} zfs zram btrfs"
#
# This variable keeps *environment* variables or kernel cmdline arguments;
# To disable default kernel cmdline, append `env=0'
# or case insensitive Disable|False|Off|No for that matter.
#
# Note, however, this will disbale everything. Or else, a colon separated
# list can be used instead e.g. `env=:root:'; (NOTE: begin/end with a colon `:').
#
env="${MIR_EXTRA_ENV}"
# Disable applets/binaries checking
env="${env} CHECK_ENV=false"
# Set a default rootfs mount option
#env="${env} rootflags=user_xattr"
# Set up root options with fsck disabled
#env="${env} root=root-sda2 rootfs=ext4:no"
# Set up root key mode (dm-crypt LUKS)
#env="${env} luks=pwd"
# Setup init variable if necessary
#env="${env} init=/sbin/runit-init"
# Set up extra option (squash(ed) directory)
#env="${env} squashd=:aufs:+LOCAL:opt"
# Set this variable to keep some system file systems mounted
#env="${env} SYSFS=/run:/sys:/dev:/proc"
#
# vim:fenc=utf-8:ft=sh:ci:pi:sts=0:sw=4:ts=4:
#