From 129a2d669732edfa20cf9fedd1ed8f2bcd6a09a6 Mon Sep 17 00:00:00 2001 From: Sophia Guo Date: Tue, 8 Oct 2024 12:32:19 -0400 Subject: [PATCH] adding back OS param --- tooling/reproducible/repro_process.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tooling/reproducible/repro_process.sh b/tooling/reproducible/repro_process.sh index 83d04292e..9746f6a8f 100755 --- a/tooling/reproducible/repro_process.sh +++ b/tooling/reproducible/repro_process.sh @@ -18,10 +18,10 @@ source $(dirname "$0")/repro_common.sh JDK_DIR="$1" OS="$2" -mkdir "${JDK_DIR}_BK" -cp -R "${JDK_DIR}"/* "${JDK_DIR}"_BK -BK_JDK_DIR=$(realpath "${JDK_DIR}"_BK/) -work_JAVA="${BK_JDK_DIR}/bin/java" +# mkdir "${JDK_DIR}_BK" +# cp -R "${JDK_DIR}"/* "${JDK_DIR}"_BK +# BK_JDK_DIR=$(realpath "${JDK_DIR}"_BK/) +# work_JAVA="${BK_JDK_DIR}/bin/java" # This script unpacks the JDK_DIR and removes windows signing Signatures in a neutral way # ensuring identical output once Signature is removed. @@ -38,7 +38,7 @@ if [[ "$OS" =~ CYGWIN* ]] || [[ "$OS" =~ Darwin* ]]; then tempSign "$JDK_DIR" "$OS" # Remove temporary SELF_SIGN signature, which will then normalize binary length - removeSignatures "$JDK_DIR" + removeSignatures "$JDK_DIR" "$OS" fi # Will enable separately @@ -46,9 +46,9 @@ fi # removeWindowsNonComparableData "$JDK_DIR" "$work_JAVA" # fi -if [[ "$OS" =~ Darwin* ]]; then - removeMacOSNonComparableData "$JDK_DIR" "$work_JAVA" -fi +# if [[ "$OS" =~ Darwin* ]]; then +# removeMacOSNonComparableData "$JDK_DIR" "$work_JAVA" +# fi patchManifests "${JDK_DIR}"