This commit is contained in:
illiliti
2020-04-11 22:31:02 +03:00
parent de8603e784
commit b9137bf486
11 changed files with 789 additions and 1004 deletions

149
config
View File

@@ -3,91 +3,134 @@
#
# debug mode
#debug=0
#
debug=0
# overwrite initramfs
#force=0
# init
#init=""
#
force=0
# initramfs name
#initramfs=""
#
# default - /tmp/initramfs-$kernel
# example - output="/tmp/myinitramfs.img.gz"
#
output=""
# monolithic kernel
#monolith=""
#
monolith=0
# drivers directory
#moddir=""
# modules directory
#
# default - /lib/modules
# example - moddir="/mnt/root/lib/modules"
#
moddir=""
# kernel version
#kernel=""
#
# default - $(uname -r)
# example - kernel="5.4.18_1"
#
kernel=""
# compression program
#compress=""
#
# default - gzip -9
# example - compress="pigz -9"
#
compress=""
# root
#root=""
#
# supported - PARTUUID, DEVICE, LABEL, PARTUUID
# example -
# root="/dev/sda1"
# root="PARTUUID=35f923c5-083a-4950-a4da-e611d0778121"
#
root=""
# root type
#root_type=""
#
# default - autodetected
# example - root_type="btrfs"
#
root_type=""
# root options
#root_opts=""
# util-linux binaries
#util_linux=0
# example - see fstab(5)
#
root_opts=""
# device manager
#devmgr=""
# supported - udev, mdev, mdevd
#
devmgr=""
# hostonly mode
#hostonly=0
#
hostonly=0
# additional drivers
#drivers=""
# additional modules
# example - modules="fat crc32c_generic"
#
modules=""
# exclude drivers
#drivers_exclude=""
# exclude modules
# example - modules_exclude="wmi fuse"
#
modules_exclude=""
# additional binaries
#binaries=""
# example - binaries="ls cat /path/to/mycustomprog"
#
binaries=""
# LVM support
#lvm=0
# LVM logical volume name
#lvm_name=""
# LVM volume group name
#lvm_group=""
# LVM config
#lvm_config=0
# LVM issue_discards
#lvm_discard=0
#
lvm=0
# LVM options
#lvm_args=""
#
# supported - tag, name, group, config, discard
# description -
# tag - trigger lvm by tag
# name - trigger lvm by logical volume name
# group - trigger lvm by volume group name
# config - embed host lvm config
# discard - enable issue_discards
# example -
# lvm_opts="tag=lvm-server"
# lvm_opts="name=lv1,group=vg1"
# lvm_opts="config=1,discard"
# lvm_opts="discard=1"
#
lvm_opts=""
# LUKS support
#luks=0
#
luks=0
# LUKS encrypted root
#luks_root=""
# LUKS mapper name
#luks_name=""
# LUKS detached header
#luks_header="/path/to/header"
# LUKS keyfile
#luks_keyfile="/path/to/keyfile"
# LUKS allow_discards
#luks_discard=0
#
# supported - PARTUUID, DEVICE, LABEL, PARTUUID
# example -
# luks_root="/dev/sda1"
# luks_root="PARTUUID=35f923c5-083a-4950-a4da-e611d0778121"
#
luks_root=""
# LUKS options
#luks_args=""
#
# supported - key, name, header, discard
# description -
# key - embed key
# name - device mapper name
# header - embed header
# discard - enable allow-discards
# example -
# luks_opts="key=/path/to/keyfile,name=myluksroot,header=/path/to/header,discard"
# luks_opts="discard=1"
#
luks_opts=""