Skip to content

Commit

Permalink
ReproducibleBuilds.md: Update "Reproducible Build Tools" section (ado…
Browse files Browse the repository at this point in the history
…ptium#3729)

Update the "Reproducible Build Tools" section of
tooling/reproducible/ReproducibleBuilds.md to reflect the
reorganization of repro_compare.sh.

Signed-off-by: Thomas Fitzsimmons <fitzsim@redhat.com>
  • Loading branch information
fitzsim committed Mar 26, 2024
1 parent dd22c24 commit 6af6c5d
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions tooling/reproducible/ReproducibleBuilds.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,21 @@ It will then:
- Download the official "Temurin JDK.tar.gz"
- Compare the locally built JDK with the official Temurin JDK

2. linux_repro_compare.sh : Compares two linux JDK folders:

- linux_repro_compare.sh (temurin|openjdk) JDK_DIR1 (temurin|openjdk) JDK_DIR2
- Calls linux_repro_process.sh to pre-process the folder before comparison. This expands zips and jmods.
2. windows_repro_build_compare.sh : Takes as parameters "SBOM URL" of Temurin JDK to be rebuilt, and the official Temurin Windows JDK Zip file.
It will then:

3. windows_repro_compare.sh : Compares two windows JDK folders:
- Setup the identical environment from the properties within the SBOM
- Build the JDK locally
- Download the official Temurin Windows JDK Zip file
- Compare the locally built JDK with the official Temurin JDK

- windows_repro_compare.sh (temurin|openjdk) JDK_DIR1 (temurin|openjdk) JDK_DIR2 temp_selfcert_file temp selfcert_pwd
- Calls windows_repro_process.sh to pre-process the folder before comparison. This expands zips and jmods, then deterministically
remove any Signatures from the executeables.
3. repro_compare.sh : Compares two JDK folders:

4. mac_repro_compare.sh : Compares two mac JDK folders:
- repro_compare.sh (temurin|openjdk) JDK_DIR1 (temurin|openjdk) JDK_DIR2 OS
- Calls repro_process.sh to pre-process the folder before comparison. This expands zips and jmods.
- On Windows and MacOS it also deterministically removes any signatures from the executables.

- mac_repro_compare.sh (temurin|openjdk) JDK_DIR1 (temurin|openjdk) JDK_DIR2 temp_selfcert temp selfcert_pwd
- Calls mac_repro_process.sh to pre-process the folder before comparison. This expands zips and jmods, then deterministically
remove any Signatures from the executeables.
4. windows_build_as_temurin.sh : Builds an identical Windows Temurin binary without directly using temurin-build scripts.

## Comparable Build Tools

Expand Down

0 comments on commit 6af6c5d

Please sign in to comment.