RFR: 8303691: Fedora based devkit build should load more packages from archive location

Christoph Langer clanger at openjdk.org
Mon Mar 6 20:36:00 UTC 2023


When building Fedora based Linux devkits, rpm packages are downloaded from locations at the Fedora project.
The latest/active versions reside under https://dl.fedoraproject.org while older, archived versions live at https://archives.fedoraproject.org.

It seems more releases have been archived in the meanwhile, so e.g. a build based on Fedora 27, which is currently marked as default, would fail.

I suggest to add a variable `LATEST_ARCHIVED_OS_VERSION` in the make file that denotes the Fedora version up to which a download would be attempted from archives. For later releases, the download is done from dl.

-------------

Commit messages:
 - While touching the file, fix another typo
 - JDK-8303691

Changes: https://git.openjdk.org/jdk/pull/12888/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=12888&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8303691
  Stats: 9 lines in 1 file changed: 3 ins; 2 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/12888.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12888/head:pull/12888

PR: https://git.openjdk.org/jdk/pull/12888



More information about the build-dev mailing list