Skip to content

Commit c035ebf

Browse files
committed
Updated config temporary
1 parent 46414e0 commit c035ebf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/virtualization/config.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,16 @@ function prepare() {
2727
logmust install_pkgs "${_RET_LIST[@]}"
2828

2929
logmust install_pkgs \
30+
openjdk-17-jdk-headless \
3031
"$DEPDIR"/crypt-blowfish/*.deb \
3132
"$DEPDIR"/host-jdks/*.deb
3233
}
3334

3435
function build() {
36+
37+
# Set JAVA_HOME in /etc/environment
38+
logmust sed -i 's|^JAVA_HOME.*|JAVA_HOME="/usr/lib/jvm/java-17-openjdk-amd64"|' /etc/environment
39+
3540
export JAVA_HOME
3641
JAVA_HOME="/usr/lib/jvm/java-17-openjdk-amd64/"
3742

0 commit comments

Comments
 (0)