tinyramfs/config

137 lines
2.1 KiB
Plaintext
Raw Normal View History

2020-01-05 21:01:39 +03:00
#
# configuration
#
2020-01-30 16:53:17 +03:00
# debug mode
2020-04-11 22:31:02 +03:00
#
debug=0
2020-02-21 11:57:07 +03:00
2020-03-08 03:28:00 +03:00
# overwrite initramfs
2020-04-11 22:31:02 +03:00
#
force=0
2020-01-30 16:53:17 +03:00
2020-04-12 22:17:01 +03:00
# initramfs output path
2020-04-11 22:31:02 +03:00
#
# default - /tmp/initramfs-$kernel
# example - output="/tmp/myinitramfs.img.gz"
#
output=""
2020-03-08 21:37:19 +03:00
# monolithic kernel
2020-04-11 22:31:02 +03:00
#
monolith=0
2020-03-08 21:37:19 +03:00
2020-04-11 22:31:02 +03:00
# modules directory
#
# default - /lib/modules
# example - moddir="/mnt/root/lib/modules"
#
moddir=""
2020-03-07 22:24:59 +03:00
2020-03-08 03:28:00 +03:00
# kernel version
2020-04-11 22:31:02 +03:00
#
# default - $(uname -r)
# example - kernel="5.4.18_1"
#
kernel=""
2020-02-11 23:30:20 +03:00
2020-03-08 03:28:00 +03:00
# compression program
2020-04-11 22:31:02 +03:00
#
# default - gzip -9
# example - compress="pigz -9"
#
compress=""
2020-03-08 03:28:00 +03:00
# root
2020-04-11 22:31:02 +03:00
#
# supported - PARTUUID, DEVICE, LABEL, PARTUUID
# example -
# root="/dev/sda1"
# root="PARTUUID=35f923c5-083a-4950-a4da-e611d0778121"
#
root=""
2020-01-05 21:01:39 +03:00
2020-01-25 14:27:02 +03:00
# root type
2020-04-11 22:31:02 +03:00
#
# default - autodetected
# example - root_type="btrfs"
#
root_type=""
2020-01-05 21:01:39 +03:00
2020-02-21 11:57:07 +03:00
# root options
2020-04-11 22:31:02 +03:00
# example - see fstab(5)
#
root_opts=""
2020-03-08 03:28:00 +03:00
# device manager
2020-04-11 22:31:02 +03:00
# supported - udev, mdev, mdevd
#
devmgr=""
2020-01-28 18:13:42 +03:00
2020-02-05 16:35:17 +03:00
# hostonly mode
2020-04-11 22:31:02 +03:00
#
hostonly=0
2020-02-05 16:35:17 +03:00
2020-04-11 22:31:02 +03:00
# additional modules
# example - modules="fat crc32c_generic"
#
modules=""
2020-01-05 21:01:39 +03:00
2020-04-11 22:31:02 +03:00
# exclude modules
# example - modules_exclude="wmi fuse"
#
modules_exclude=""
2020-03-01 17:39:12 +03:00
2020-03-08 03:28:00 +03:00
# additional binaries
2020-04-11 22:31:02 +03:00
# example - binaries="ls cat /path/to/mycustomprog"
#
binaries=""
2020-01-05 21:01:39 +03:00
# LVM support
2020-04-11 22:31:02 +03:00
#
lvm=0
2020-01-05 21:01:39 +03:00
2020-02-22 20:11:30 +03:00
# LVM options
2020-04-11 22:31:02 +03:00
#
# 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=""
2020-02-21 11:57:07 +03:00
2020-01-05 21:01:39 +03:00
# LUKS support
2020-04-11 22:31:02 +03:00
#
luks=0
2020-01-05 21:01:39 +03:00
2020-03-08 03:28:00 +03:00
# LUKS encrypted root
2020-04-11 22:31:02 +03:00
#
# supported - PARTUUID, DEVICE, LABEL, PARTUUID
# example -
# luks_root="/dev/sda1"
# luks_root="PARTUUID=35f923c5-083a-4950-a4da-e611d0778121"
#
luks_root=""
2020-01-25 14:27:02 +03:00
2020-02-22 20:11:30 +03:00
# LUKS options
2020-04-11 22:31:02 +03:00
#
# 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=""