Skip to content

Fix build on RHEL 9.7 and 10.1 kernels - #543

Merged
jakub-prussak-synaptics merged 1 commit into
DisplayLink:mainfrom
scaronni:el10
Dec 10, 2025
Merged

jakub-prussak-synaptics merged 1 commit into
DisplayLink:mainfrom
scaronni:el10

Conversation

@scaronni

@scaronni scaronni commented Dec 1, 2025 •

Copy link
Copy Markdown
Contributor
  • EL 9.7 and 10.1 kernels have many backports from later releases; up to 6.15.
    • Add the necessary definitions to fix building.
  • Starting from EL 10.1, the VERSION_ID variable in /etc/os-release prints out the minor version as well, so the generation of the -DEL<version> definition fails.
    • Cut to the first dot, so it works for both EL10 and EL8/EL9.
    • Note that CentOS Stream still reports only 10.

Tested with the following kernels:

EL 8.10 - 4.18.0-553.85.1.el8_10.x86_64
EL 9.7 - 5.14.0-611.5.1.el9_7.x86_64
EL 10.1 - 6.12.0-124.8.1.el10_1.x86_64

@scaronni
scaronni force-pushed the el10 branch 2 times, most recently from 564bf8b to 7c9d14c Compare December 1, 2025 08:33
@scaronni scaronni changed the title Fix build on RHEL 10.1 Fix build on RHEL 9.7 and 10.1 kernels Dec 1, 2025
@jakub-prussak-synaptics

Copy link
Copy Markdown
Collaborator

Am I correct in assumption that this addresses #544?

@jakub-prussak-synaptics
jakub-prussak-synaptics merged commit 5d708d1 into DisplayLink:main Dec 10, 2025
@scaronni

Copy link
Copy Markdown
Contributor Author

Correct. Thanks for merging.

@scaronni
scaronni deleted the el10 branch December 10, 2025 11:14
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.

2 participants