1
0
out-of-tree/examples/kernel-module/.out-of-tree.toml
Mikhail Klementev 73f5df2425
feat!: new kernel config structure
BREAKING CHANGE: kernel definition in the configuration files has switched

from

  [[targets]]
  distro = { id = "Ubuntu", release = "18.04" }
  release_mask = ".*"

to

  [[targets]]
  distro = { id = "Ubuntu", release = "18.04" }
  kernel = { regex = ".*" }
2023-05-18 18:48:09 +00:00

27 lines
753 B
TOML

# out-of-tree configuration file
# docs at https://out-of-tree.io
name = "out-of-tree module example"
type = "module"
[[targets]]
# Can be Ubuntu/CentOS/Debian/etc.
distro = { id = "Ubuntu", release = "16.04" }
# regex for `uname -r`
# See also: regex-golang.appspot.com
kernel = { regex = "4[.]4[.]0-70-.*" }
# [[targets]] may be defined unlimited number of times
[[targets]]
distro = { id = "Ubuntu", release = "18.04" }
# Also you can use only one kernel
kernel = { regex = "4[.]15[.]0-(24|29)-generic" }
[[targets]]
distro = { id = "Ubuntu", release = "18.04" }
# Also you can use only one kernel
kernel = { regex = "4[.]15[.]0-23-generic" }
[[targets]]
distro = { id = "CentOS", release = "7" }
kernel = { regex = "3[.]10[.]0-862.el7.x86_64" }