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

[3.13] Fixes #38010 & #38012 - OpenJDK 17 compatiblity #995

Merged
merged 3 commits into from
Nov 19, 2024

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Nov 19, 2024

To unbreak fresh Katello installations on EL 9.5+ which made OpenJDK 17 the default.

OpenJDK 17's keytool now requires the keyalg parameter. EL 9.5 has made
OpenJDK 17 the default version which means it broke fresh Katelllo
installations.
This moves the code around to easily test the logic without making
actual changes to the logic. Arguably this also makes the hook itself
easier to read.

(cherry picked from commit 10647cd)
Java < 11 uses version 1.X where X is the major while Java 11 drops the
old 1. prefix.

(cherry picked from commit 4c89c65)
@ekohl ekohl merged commit e95dd4d into theforeman:3.13-stable Nov 19, 2024
8 checks passed
@ekohl ekohl deleted the foreman-3.13.0-rc2-picks branch November 19, 2024 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants