Skip to content

Commit 631e91d

Browse files
authored
adoptium: use rhel rpm for LTS rhel and variants
adoptium: use rhel rpm for LTS rhel and variants adoptium/installer#499 (comment)
1 parent 57d41d2 commit 631e91d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

adoptium.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,14 @@ def delete_old_files(ver: int, alive_files: Set[str]):
119119
check=True)
120120
print("APT finished", flush=True)
121121
# =================== YUM repos ==========================
122-
# "$yum_sync" "${BASE_URL}/rpm/centos/@{os_ver}/@{arch}" 7 Adopitum x86_64,aarch64 "centos@{os_ver}-@{arch}" "$BASE_PATH/rpm"
122+
# "$yum_sync" "${BASE_URL}/rpm/rhel/@{os_ver}/@{arch}" 7 Adopitum x86_64,aarch64 "rhel@{os_ver}-@{arch}" "$BASE_PATH/rpm"
123123
sp.run([str(here/"yum-sync.py"),
124-
BASE_URL+'/rpm/centos/@{os_ver}/@{arch}',
124+
BASE_URL+'/rpm/rhel/@{os_ver}/@{arch}',
125125
"--download-repodata",
126-
'7',
126+
'7,8,9',
127127
'Adoptium',
128128
'x86_64,aarch64',
129-
"centos@{os_ver}-@{arch}",
129+
"rhel@{os_ver}-@{arch}",
130130
f"{BASE_PATH}/rpm"
131131
],
132132
check=True)

0 commit comments

Comments
 (0)