Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix kernel version checks for RHEL9 #171

Merged
merged 1 commit into from
Dec 17, 2024
Merged

Conversation

JJL772
Copy link
Member

@JJL772 JJL772 commented Dec 17, 2024

Description

RedHat has been inexplicably cherry-picking breaking changes from later kernel versions. Unfortunately this means that KERNEL_VERSION_CODE checks are insufficient to ensure compatibility in some cases, and we need to check if we're building for RHEL 9.X.

Since I do not have easy access to the RHEL 9 kernel Git history, I don't know when they cherry-picked the PDE_DATA commit (hence the guess of RHEL 9.1)

Relevant Linux commits that they cherry picked:

Tested the build on rocky 9.4 and Debian with kernel 6.12.3

@ruck314 ruck314 changed the base branch from main to pre-release December 17, 2024 01:18
@ruck314 ruck314 merged commit dfb762b into pre-release Dec 17, 2024
3 checks passed
@ruck314 ruck314 deleted the pr-fix-rhel9-compile branch December 17, 2024 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants