tinyramfs/config

137 lines
2.1 KiB
Plaintext
Raw Normal View History

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