-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.toml
84 lines (76 loc) · 3.5 KB
/
config.toml
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
# This is the autokernel configuration file.
[config]
# The script that defines which symbols should be set.
# This can be a lua script (see example.lua), or a classic kconfig
# file. Statements in this script will be checked for correctness.
#
# Recognized extensions:
# .lua -> Uses the lua interpreter
# .txt | .config -> Uses the kconfig interpreter
#
# Using lua you can utilize more complex logic to build your kernel config,
# as you can directly interface with the autokernel bridge and conditionally
# set symbols based on kernel version, or more complex conditions.
#
# This field is required.
script = "/etc/autokernel/config.lua"
[initramfs]
# Whether an initramfs should be built.
#enable = false
# Whether the built initramfs should be integrated into the kernel in a two-stage build
# (build kernel, generate initramfs, rebuild kernel to integrate initramfs). If your initramfs
# packages some modules (and is therefore not kernel-agnostic), this option always ensures
# that the correct initramfs is contained in the kernel binary.
#builtin = false
# The command used to build the initramfs.
# The following variables will be replaced in all arguments:
# {OUTPUT}:
# Will be replaced with a path to where the resulting initramfs should be placed.
# If initramfs.builtin is true, this should be the uncompressed cpio image. It will
# then be compressed automatically in the second build stage according to your
# INITRAMFS_COMPRESSION_* choice in the kernel.
# {KERNEL_VERSION}:
# The version string of the kernel as set by the makefile.
# {INSTALL_MOD_PATH}:
# The directory where the built kernel modules reside temporarily.
# Typically this will be some path like /tmp/????/lib/modules/{KERNEL_VERSION}.
# Example for dracut:
#command = ["dracut", "--kver", {OUTPUT}",
# "--kmoddir", "{INSTALL_MOD_PATH}",
# "--no-hostonly",
# "--add", "bash",
# "--force", "{OUTPUT}"]
# Default:
#command = []
# Section may be elided if defaults are not changed.
[config.install]
# This determines whether the config file should be installed (copied),
# when build --install is used.
#enable = true
# The path to where the config file will be copied.
# The following variables will be replaced:
# {KERNEL_VERSION}: The version string of the kernel as set by the makefile.
#path = "/boot/config-{KERNEL_VERSION}"
# Section may be elided if defaults are not changed.
[kernel.install]
# This determines whether the kernel should be installed (using `make install`),
# when build --install is used.
#enable = true
# Section may be elided if defaults are not changed.
[initramfs.install]
# This determines whether the initramfs file should be installed (copied),
# when build --install is used. This section is ignored if initramfs.builtin is true.
#enable = true
# The path to where the config file will be copied.
# The following variables will be replaced:
# {KERNEL_VERSION}: The version string of the kernel as set by the makefile.
#path = "/boot/initramfs-{KERNEL_VERSION}.img"
# Section may be elided if defaults are not changed.
[modules.install]
# This determines whether the modules should be installed (using `make modules_install`),
# when build --install is used.
#enable = true
# The prefix path to where the modules should be installed (uses `make INSTALL_MOD_PATH=... modules_install`).
# The following variables will be replaced:
# {KERNEL_VERSION}: The version string of the kernel as set by the makefile.
#path = "/"