mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
kernel_validator: amend kernel config check paths
Clear Linux Project for Intel Architecture uses its own path to store kernel build artifacts. This is documented, e.g., in https://github.com/clearlinux/clr-boot-manager. Adapt kernel validator's config check paths to include Clear Linux's path too.
This commit is contained in:
parent
0e9b1dd20f
commit
cc117866bd
@ -181,6 +181,7 @@ func (k *KernelValidator) getKernelConfigReader() (io.Reader, error) {
|
||||
"/usr/src/linux/.config",
|
||||
"/usr/lib/modules/" + k.kernelRelease + "/config",
|
||||
"/usr/lib/ostree-boot/config-" + k.kernelRelease,
|
||||
"/usr/lib/kernel/config-" + k.kernelRelease,
|
||||
}
|
||||
configsModule := "configs"
|
||||
modprobeCmd := "modprobe"
|
||||
|
Loading…
Reference in New Issue
Block a user