Skip to content

cuttlefish-integration-gigabyte-arm64: install openjdk by default#2249

Open
grandpaul wants to merge 1 commit intogoogle:mainfrom
grandpaul:paulliu-install-openjdk-21-trixie
Open

cuttlefish-integration-gigabyte-arm64: install openjdk by default#2249
grandpaul wants to merge 1 commit intogoogle:mainfrom
grandpaul:paulliu-install-openjdk-21-trixie

Conversation

@grandpaul
Copy link
Collaborator

We've already migrate Gigabyte Ampere server installer to Trixie. Thus we can install openjdk-21 from the repo. Install it by default.

We also add modify the tests to check that the openjdk is installed and is the version we want.

We've already migrate Gigabyte Ampere server installer to Trixie. Thus
we can install openjdk-21 from the repo. Install it by default.

We also add modify the tests to check that the openjdk is installed
and is the version we want.

Signed-off-by: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
@grandpaul grandpaul force-pushed the paulliu-install-openjdk-21-trixie branch from 438d2b6 to cc70943 Compare March 11, 2026 10:56
@rmuthiah rmuthiah requested a review from ser-io March 11, 2026 15:33
- name: Test Java version
run: |
sshpass -p cuttlefish ssh -o "StrictHostKeyChecking no" -o "UserKnownHostsFile /dev/null" -p 33322 vsoc-01@localhost 'java --version'
sshpass -p cuttlefish ssh -o "StrictHostKeyChecking no" -o "UserKnownHostsFile /dev/null" -p 33322 vsoc-01@localhost 'java --version' | grep 21.0
Copy link
Collaborator

Choose a reason for hiding this comment

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

What if downloaded version of default-jdk from apt repository is higher than 21.0? If it's okay, what about adding default-jdk (>=2:1.21) on debian/control?

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