Skip to content

Commit e3ee123

Browse files
committed
Merge remote-tracking branch 'origin/ubi9' into jlink-dev
2 parents e3b93d3 + c664d52 commit e3ee123

File tree

57 files changed

+173
-97
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+173
-97
lines changed

modules/jdk/17/configure.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
# Configure module
33
set -e
44

5+
SCRIPT_DIR=$(dirname $0)
6+
ARTIFACTS_DIR=${SCRIPT_DIR}/artifacts
7+
8+
install -m 0644 -D {${ARTIFACTS_DIR},}/opt/jboss/container/openjdk/jdk/jvm-options
9+
510
# Set this JDK as the alternative in use
611
_arch="$(uname -i)"
712
alternatives --set java java-17-openjdk.${_arch}

modules/jdk/17/module.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,3 @@ modules:
3333

3434
execute:
3535
- script: configure.sh
36-
37-
artifacts:
38-
- path: artifacts/jvm-options
39-
dest: /opt/jboss/container/openjdk/jdk

modules/jdk/21/configure.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
# Configure module
33
set -e
44

5+
SCRIPT_DIR=$(dirname $0)
6+
ARTIFACTS_DIR=${SCRIPT_DIR}/artifacts
7+
8+
install -m 0644 -D {${ARTIFACTS_DIR},}/opt/jboss/container/openjdk/jdk/jvm-options
9+
510
# Set this JDK as the alternative in use
611
_arch="$(uname -i)"
712
alternatives --set java java-21-openjdk.${_arch}

modules/jdk/21/module.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,3 @@ modules:
3333

3434
execute:
3535
- script: configure.sh
36-
37-
artifacts:
38-
- path: artifacts/jvm-options
39-
dest: /opt/jboss/container/openjdk/jdk

modules/jdk/8/configure.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,7 @@ set -e
55
SCRIPT_DIR=$(dirname $0)
66
ARTIFACTS_DIR=${SCRIPT_DIR}/artifacts
77

8-
chown -R $USER:root $SCRIPT_DIR
9-
chmod -R ug+rwX $SCRIPT_DIR
10-
chmod ug+x ${ARTIFACTS_DIR}/opt/jboss/container/openjdk/jdk/*
11-
12-
pushd ${ARTIFACTS_DIR}
13-
cp -pr * /
14-
popd
8+
install -m 0644 -D {${ARTIFACTS_DIR},}/opt/jboss/container/openjdk/jdk/jvm-options
159

1610
# Set this JDK as the alternative in use
1711
_arch="$(uname -i)"

modules/jre/17/configure.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
#!/bin/sh
2-
set -e
1+
#!/bin/bash
2+
set -euo pipefail
3+
4+
SCRIPT_DIR=$(dirname $0)
5+
ARTIFACTS_DIR=${SCRIPT_DIR}/artifacts
6+
7+
install -m 0644 -D {${ARTIFACTS_DIR},}/opt/jboss/container/openjdk/jre/jvm-options
38

49
# Set this JDK as the alternative in use
510
_arch="$(uname -i)"

modules/jre/17/module.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,3 @@ modules:
3333

3434
execute:
3535
- script: configure.sh
36-
37-
artifacts:
38-
- path: artifacts/jvm-options
39-
dest: /opt/jboss/container/openjdk/jre

0 commit comments

Comments
 (0)