Unverified Commit d7bcae8b authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #60791 from mythi/kernel

Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. kernel_validator: amend kernel config check paths **What this PR does / why we need it**: Clear Linux Project for Intel Architecture uses its own path to store kernel build artifacts. This PR amends the path to kernel validator's config check paths. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: **Release note**: ``` e2e_node: add new kernel config check paths ```
parents 284964f1 cc117866
...@@ -181,6 +181,7 @@ func (k *KernelValidator) getKernelConfigReader() (io.Reader, error) { ...@@ -181,6 +181,7 @@ func (k *KernelValidator) getKernelConfigReader() (io.Reader, error) {
"/usr/src/linux/.config", "/usr/src/linux/.config",
"/usr/lib/modules/" + k.kernelRelease + "/config", "/usr/lib/modules/" + k.kernelRelease + "/config",
"/usr/lib/ostree-boot/config-" + k.kernelRelease, "/usr/lib/ostree-boot/config-" + k.kernelRelease,
"/usr/lib/kernel/config-" + k.kernelRelease,
} }
configsModule := "configs" configsModule := "configs"
modprobeCmd := "modprobe" 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