From 708f8165e7739c83e26cde1506c09b588c77dc31 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Sat, 29 Nov 2025 04:24:03 +0000 Subject: [PATCH] Portable build --- create-redhat-properties-files.bash | 12 +++++++----- java-25-openjdk-portable.specfile | 2 +- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/create-redhat-properties-files.bash b/create-redhat-properties-files.bash index 39c7ffc..60264f2 100644 --- a/create-redhat-properties-files.bash +++ b/create-redhat-properties-files.bash @@ -23,28 +23,30 @@ # # Usage: # -# bash create-redhat-properties-files.bash +# bash create-redhat-properties-files.bash # # Example usage in spec file: # -# bash -x create-redhat-properties-files.bash ${imagepath}/conf/security +# bash -x create-redhat-properties-files.bash ${installdir}/conf/security \ +# %{_libdir}/%{sdkdir -- ${suffix}}/libnssadapter.so # # When you make changes to the file set here, also update the %files # section in the spec file, and the JDK_PROPS_FILES_JDK_25 variables # in TestSecurityProperties.java. -[[ $# == 1 ]] || exit 1 +[[ $# == 2 ]] || exit 1 SECURITY="${1}" +NSSADAPTER="${2}" VENDOR="${SECURITY}"/redhat install --directory --mode=755 "${VENDOR}" install --directory --mode=755 "${VENDOR}"/true install --directory --mode=755 "${VENDOR}"/false # /usr/lib/jvm/java-25-openjdk/conf/security/redhat/SunPKCS11-FIPS.cfg -install --mode 644 /dev/stdin "${VENDOR}"/SunPKCS11-FIPS.cfg <<'EOF' +install --mode 644 /dev/stdin "${VENDOR}"/SunPKCS11-FIPS.cfg < - 1:25.0.1.0.8-1 +* Sat Nov 29 2025 eabdullin - 1:25.0.1.0.8-1 - Portable build * Mon Nov 10 2025 Andrew Hughes - 1:25.0.1.0.8-1