mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 04:12:42 +00:00
adoptium: use rhel rpm for LTS rhel and variants
adoptium: use rhel rpm for LTS rhel and variants https://github.com/adoptium/installer/issues/499#issuecomment-1183208458
This commit is contained in:
parent
57d41d267b
commit
631e91d01c
@ -119,14 +119,14 @@ if __name__ == "__main__":
|
|||||||
check=True)
|
check=True)
|
||||||
print("APT finished", flush=True)
|
print("APT finished", flush=True)
|
||||||
# =================== YUM repos ==========================
|
# =================== YUM repos ==========================
|
||||||
# "$yum_sync" "${BASE_URL}/rpm/centos/@{os_ver}/@{arch}" 7 Adopitum x86_64,aarch64 "centos@{os_ver}-@{arch}" "$BASE_PATH/rpm"
|
# "$yum_sync" "${BASE_URL}/rpm/rhel/@{os_ver}/@{arch}" 7 Adopitum x86_64,aarch64 "rhel@{os_ver}-@{arch}" "$BASE_PATH/rpm"
|
||||||
sp.run([str(here/"yum-sync.py"),
|
sp.run([str(here/"yum-sync.py"),
|
||||||
BASE_URL+'/rpm/centos/@{os_ver}/@{arch}',
|
BASE_URL+'/rpm/rhel/@{os_ver}/@{arch}',
|
||||||
"--download-repodata",
|
"--download-repodata",
|
||||||
'7',
|
'7,8,9',
|
||||||
'Adoptium',
|
'Adoptium',
|
||||||
'x86_64,aarch64',
|
'x86_64,aarch64',
|
||||||
"centos@{os_ver}-@{arch}",
|
"rhel@{os_ver}-@{arch}",
|
||||||
f"{BASE_PATH}/rpm"
|
f"{BASE_PATH}/rpm"
|
||||||
],
|
],
|
||||||
check=True)
|
check=True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user