Commit cc117866 authored by Mikko Ylinen's avatar Mikko Ylinen

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.
parent 0e9b1dd2
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment