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

Kernel version parsing fixes for OL10, UEK8, and UEK-next #132

Merged
merged 2 commits into from
Dec 13, 2024

Conversation

brenns10
Copy link
Member

@brenns10 brenns10 commented Dec 10, 2024

  1. Add the likely UEK 8 release string to the table which is used to determine UEK versions.
  2. Add tests for OL10 release strings, and make sure parsing works.
  3. One candidate kernel build had an unusual version string, with no numeric release (e.g. it was 6.12.0-testing, rather than 6.12.0-0.testing). This is a corner case in parsing, so I added some logic to handle that too, and add a test.

I may create a reduced subset of this, to backport for 1.x. We don't need the extra logic, but it would be good to include UEK8 in the parser so old versions will work when UEK8 is released.

There are no guarantees in life, but it looks like this is what the UEK
version formats will look like in UEK8 and OL10. Let's add support for
the expected version number, and test that the parsing works.

Orabug: 37368477
Signed-off-by: Stephen Brennan <[email protected]>
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Dec 10, 2024
@brenns10 brenns10 merged commit 8e87cbf into oracle-samples:main Dec 13, 2024
4 checks passed
@brenns10 brenns10 deleted the kver-ol10-uek8 branch December 13, 2024 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants