adoptium: fix yum sync arg

This commit is contained in:
Zenithal 2022-11-08 16:18:43 +08:00
parent 35b397de81
commit 48e45fa12e
No known key found for this signature in database
GPG Key ID: 1189C659F3D04C1C

View File

@ -132,11 +132,11 @@ if __name__ == "__main__":
check=True)
# =================== YUM repos ==========================
# "$yum_sync" "${BASE_URL}/rpm/rhel/@{os_ver}/@{arch}" 7 Adopitum x86_64,aarch64 "rhel@{os_ver}-@{arch}" "$BASE_PATH/rpm"
# "$yum_sync" "${BASE_URL}/rpm/rhel/@{os_ver}/@{arch}" 7-9 Adopitum x86_64,aarch64 "rhel@{os_ver}-@{arch}" "$BASE_PATH/rpm"
sp.run([str(here/"yum-sync.py"),
BASE_URL+'/rpm/rhel/@{os_ver}/@{arch}',
"--download-repodata",
'7,8,9',
'7-9',
'Adoptium',
'x86_64,aarch64',
"rhel@{os_ver}-@{arch}",