Skip to content

Remove platform version complexity for Java version#6

Merged
nmburgan merged 2 commits intomainfrom
remove_java_platform_complexity
Feb 20, 2025
Merged

Remove platform version complexity for Java version#6
nmburgan merged 2 commits intomainfrom
remove_java_platform_complexity

Conversation

@nmburgan
Copy link
Member

OpenVox only supports platform 7 and 8, and we don't really need to worry about ancient el8 being weird. We build OpenVox with Java 11, so make this the base version, and ideally use 17 when available.

OpenVox only supports platform 7 and 8, and we don't really need to worry about ancient el8 being weird. We build OpenVox with Java 11, so make this the base version, and ideally use 17 when available.
Copy link
Member

@yakatz yakatz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nmburgan nmburgan merged commit 6937a73 into main Feb 20, 2025
@nmburgan nmburgan deleted the remove_java_platform_complexity branch February 20, 2025 19:24
@@ -189,24 +189,13 @@
options.systemd_el = 1
elsif options.operating_system == :el && options.os_version >= 7 # systemd el
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we even build for EL6 or can we also simplify this?

'java-11-openjdk-headless'
elsif options.os_version >= 8
'java-17-openjdk-headless'
else
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even this else is not needed since line 190 already guarantees os_version is at least 7. I'll clean that up in a later patch.

nmburgan added a commit that referenced this pull request Mar 19, 2025
…xity

Remove platform version complexity for Java version
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