File tree Expand file tree Collapse file tree 3 files changed +67
-0
lines changed
jboss/container/openjdk/jdk/semeru-11-open
artifacts/opt/jboss/container/openjdk/jdk Expand file tree Collapse file tree 3 files changed +67
-0
lines changed Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ # ==============================================================================
3+ # JDK specific customizations
4+ #
5+ # ==============================================================================
6+
7+ function jvm_specific_diagnostics() {
8+ echo " "
9+ }
Original file line number Diff line number Diff line change 1+ #! /bin/sh
2+ # Configure module
3+ set -e
4+
5+ SCRIPT_DIR=$( dirname $0 )
6+ ARTIFACTS_DIR=${SCRIPT_DIR} /artifacts
7+
8+ chown -R jboss: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
15+
16+ alternatives --set java /usr/lib/jvm/ibm-semeru-open-11-jdk/bin/java
17+ alternatives --set javac /usr/lib/jvm/ibm-semeru-open-11-jdk/bin/javac
18+
19+ # Update securerandom.source for quicker starts
20+ JAVA_SECURITY_FILE=/usr/lib/jvm/ibm-semeru-open-11-jdk/conf/security/java.security
21+ SECURERANDOM=securerandom.source
22+ if grep -q " ^$SECURERANDOM =.*" $JAVA_SECURITY_FILE ; then
23+ sed -i " s|^$SECURERANDOM =.*|$SECURERANDOM =file:/dev/urandom|" $JAVA_SECURITY_FILE
24+ else
25+ echo $SECURERANDOM =file:/dev/urandom >> $JAVA_SECURITY_FILE
26+ fi
Original file line number Diff line number Diff line change 1+ schema_version : 1
2+
3+ name : " jboss.container.openjdk.jdk"
4+ description : " Installs the JDK for OpenJ9 11."
5+ version : " semeru-11-open"
6+
7+ labels :
8+ - name : " org.jboss.product"
9+ value : " openjdk"
10+ - name : " org.jboss.product.version"
11+ value : " 11"
12+ - name : " org.jboss.product.openjdk.version"
13+ value : " 11"
14+
15+ envs :
16+ - name : " JAVA_HOME"
17+ value : " /usr/lib/jvm/ibm-semeru-open-11-jdk"
18+ - name : " JAVA_VENDOR"
19+ value : " IBM"
20+ - name : " JAVA_VERSION"
21+ value : " 11"
22+
23+ packages :
24+ install :
25+ - ibm-semeru-open-11-jdk
26+
27+ modules :
28+ install :
29+ - name : jboss.container.user
30+
31+ execute :
32+ - script : configure.sh
You can’t perform that action at this time.
0 commit comments