tinyramfs/config

151 lines
2.4 KiB
Plaintext
Raw Normal View History

2020-01-05 21:01:39 +03:00
#
# configuration
#
2020-04-18 13:16:05 +03:00
# uncomment and fill settings which you needed
2020-01-05 21:01:39 +03:00
2020-01-30 16:53:17 +03:00
# debug mode
# default - 0
2020-04-11 22:31:02 +03:00
#
#debug=0|1
2020-02-21 11:57:07 +03:00
2020-03-08 03:28:00 +03:00
# overwrite initramfs
# default - 0
2020-04-11 22:31:02 +03:00
#
#force=0|1
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"
#
2020-04-18 13:16:05 +03:00
#output=""
2020-03-08 21:37:19 +03:00
# monolithic kernel
#
# default - 0
2020-04-18 13:16:05 +03:00
# enable this if you have monolithic kernel (builtin modules)
2020-04-11 22:31:02 +03:00
#
#monolith=0|1
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"
#
2020-04-18 13:16:05 +03:00
#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"
#
2020-04-18 13:16:05 +03:00
#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
2020-04-21 17:35:55 +03:00
# example -
# compress="pigz -9"
# compress="none" # disable compress
2020-04-11 22:31:02 +03:00
#
2020-04-18 13:16:05 +03:00
#compress=""
2020-03-08 03:28:00 +03:00
# root
2020-04-11 22:31:02 +03:00
#
2020-04-14 06:20:38 +03:00
# supported - PARTUUID, DEVICE, LABEL, UUID
2020-04-11 22:31:02 +03:00
# example -
# root="/dev/sda1"
# root="/dev/dm-0"
2020-04-11 22:31:02 +03:00
# root="PARTUUID=35f923c5-083a-4950-a4da-e611d0778121"
#
2020-04-18 13:16:05 +03:00
#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"
#
2020-04-18 13:16:05 +03:00
#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)
#
2020-04-18 13:16:05 +03:00
#root_opts=""
2020-03-08 03:28:00 +03:00
# device manager
2020-04-11 22:31:02 +03:00
# supported - udev, mdev, mdevd
#
2020-04-18 13:16:05 +03:00
#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
#
2020-04-18 13:16:05 +03:00
# dramatically reduce initramfs size
# useful only for modular kernels
#
#hostonly=0|1
2020-02-05 16:35:17 +03:00
2020-04-11 22:31:02 +03:00
# additional modules
# example - modules="fat crc32c_generic"
#
2020-04-18 13:16:05 +03:00
#modules=""
2020-01-05 21:01:39 +03:00
2020-04-11 22:31:02 +03:00
# exclude modules
# example - modules_exclude="wmi fuse"
#
2020-04-18 13:16:05 +03:00
#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"
#
2020-04-18 13:16:05 +03:00
#binaries=""
2020-01-05 21:01:39 +03:00
# LVM support
# default - 0
2020-04-11 22:31:02 +03:00
#
#lvm=0|1
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"
#
2020-04-18 13:16:05 +03:00
#lvm_opts=""
2020-02-21 11:57:07 +03:00
2020-01-05 21:01:39 +03:00
# LUKS support
# default - 0
2020-04-11 22:31:02 +03:00
#
#luks=0|1
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
#
2020-04-14 06:20:38 +03:00
# supported - PARTUUID, DEVICE, LABEL, UUID
2020-04-11 22:31:02 +03:00
# example -
# luks_root="/dev/sda1"
# luks_root="PARTUUID=35f923c5-083a-4950-a4da-e611d0778121"
#
2020-04-18 13:16:05 +03:00
#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"
#
2020-04-18 13:16:05 +03:00
#luks_opts=""