Skip to content

Backport kernel config check logic improvements to Avocado 103 LTS #6216

Description

@dhsrivas

Description
On Avocado 103 LTS, the kernel config check logic in "check_kernel_config()" validates only /boot/config-{kernel_version}. Relying on a single path is not reliable, since the config file may be missing, deleted, or moved. Supporting multiple locations improves robustness and ensures more reliable detection across different Linux distributions, including RHEL-based and Debian/Ubuntu systems.

Newer versions of Avocado already include commits that address above issues, and they can be backported to Avocado 103 LTS.

Describe the solution you'd like
Cherry-pick commits 9ddd7ec ("feat(linux_modules): Enhance kernel config file search logic") and bca99c2 ("Support reading /proc/config.gz in kernel config check") into the 103lts branch.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions