1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2025-03-06 00:37:01 +00:00
node-feature-discovery/source/kernel
Markus Lehtonen 6f881a4822 source/kernel: unmangled kconfig values for custom rules
Stop converting "=y" and "=m" to "true" for the raw feature values used
in "kernel.config" custom rule processing.

In practice, this means that to check if a kernel config flag has been
set to "y" or "m", one needs to explicitly check for both of the values:

  matchFeatures:
    - feature: kernel.config
      matchExpressions:
        FOO: {op: In, value: ["y", "m"]}

instead of (how it used to be):

  matchFeatures:
    - feature: kernel.config
      matchExpressions:
        FOO: {op: IsTrue}

The legacy kconfig custom rule is unchanged as are the
kernel-config.<flag> feature labels.
2021-12-02 10:06:21 +02:00
..
kconfig.go source/kernel: unmangled kconfig values for custom rules 2021-12-02 10:06:21 +02:00
kernel.go source/kernel: unmangled kconfig values for custom rules 2021-12-02 10:06:21 +02:00
kernel_test.go source/kernel: implement FeatureSource 2021-11-11 18:33:40 +02:00
modules.go source/custom: move kernel module detection to source/kernel 2021-11-11 18:33:58 +02:00
selinux.go source/kernel: better error reporting 2021-08-13 09:13:19 +03:00
version.go source/kernel: implement FeatureSource 2021-11-11 18:33:40 +02:00