mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-30 05:20:41 +00:00
Merge pull request #216 from marcov/suse-arm-repo-fix
suse: fix port URL detection for aarch64
This commit is contained in:
commit
121de2ccf3
@ -122,6 +122,6 @@ For further details, see [the tests documentation](tests/README.md).
|
|||||||
|
|
||||||
| |Alpine |CentOS |ClearLinux |Debian/Ubuntu |EulerOS |Fedora |openSUSE |
|
| |Alpine |CentOS |ClearLinux |Debian/Ubuntu |EulerOS |Fedora |openSUSE |
|
||||||
|-- |-- |-- |-- |-- |-- |-- |-- |
|
|-- |-- |-- |-- |-- |-- |-- |-- |
|
||||||
|**ARM64** |:heavy_check_mark:|:heavy_check_mark:| | |:heavy_check_mark:|:heavy_check_mark:| |
|
|**ARM64** |:heavy_check_mark:|:heavy_check_mark:| | |:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|
|
||||||
|**PPC64le**|:heavy_check_mark:|:heavy_check_mark:| |:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|
|
|**PPC64le**|:heavy_check_mark:|:heavy_check_mark:| |:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|
|
||||||
|**x86_64** |:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|
|
|**x86_64** |:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|:heavy_check_mark:|
|
||||||
|
@ -35,15 +35,19 @@ SUSE_URL_BASE="${REPO_TRANSPORT}://${REPO_DOMAIN}"
|
|||||||
SUSE_PATH_OSS="/distribution/${OS_DISTRO,,}/$OS_VERSION/repo/oss"
|
SUSE_PATH_OSS="/distribution/${OS_DISTRO,,}/$OS_VERSION/repo/oss"
|
||||||
SUSE_PATH_UPDATE="/update/${OS_DISTRO,,}/$OS_VERSION/oss"
|
SUSE_PATH_UPDATE="/update/${OS_DISTRO,,}/$OS_VERSION/oss"
|
||||||
|
|
||||||
case "$(uname -m)" in
|
arch="$(uname -m)"
|
||||||
|
case "$arch" in
|
||||||
x86_64)
|
x86_64)
|
||||||
REPO_URL_PORT=""
|
REPO_URL_PORT=""
|
||||||
;;
|
;;
|
||||||
ppc|ppc64le)
|
ppc|ppc64le)
|
||||||
REPO_URL_PORT="/ports/ppc"
|
REPO_URL_PORT="/ports/ppc"
|
||||||
;;
|
;;
|
||||||
|
aarch64)
|
||||||
|
REPO_URL_PORT="/ports/aarch64"
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
REPO_URL_PORT="/ports/$arch"
|
die "Unsupported architecture: $arch"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
SUSE_FULLURL_OSS="${SUSE_URL_BASE}${REPO_URL_PORT}${SUSE_PATH_OSS}"
|
SUSE_FULLURL_OSS="${SUSE_URL_BASE}${REPO_URL_PORT}${SUSE_PATH_OSS}"
|
||||||
|
Loading…
Reference in New Issue
Block a user