mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-14 06:06:12 +00:00
utils: kata-manager: Fix "Cannot determine download URL" issue
The archive names for x86_64 [Kata releases](https://github.com/kata-containers/kata-containers/releases)
used to include the tag `x86_64`, but that has now been changed to
`amd64`, which unfortunately broke `kata-manager.sh`:
```
kata-static-3.1.3-x86_64.tar.xz
~~~~~~
expected
kata-static-3.2.0-alpha3-x86_64.tar.xz
~~~~~~
expected
kata-static-3.2.0-alpha4-amd64.tar.xz
~~~~~
changed
```
Fixes: #8321.
Signed-off-by: James O. D. Hunt <james.o.hunt@intel.com>
(cherry picked from commit 2ac7ac1dd2
)
This commit is contained in:
parent
51284275ee
commit
469fa59bbf
@ -145,6 +145,7 @@ github_get_release_file_url()
|
||||
|
||||
local arch
|
||||
arch=$(uname -m)
|
||||
[ "$arch" = "x86_64" ] && arch="amd64"
|
||||
|
||||
local regex=""
|
||||
|
||||
@ -154,7 +155,6 @@ github_get_release_file_url()
|
||||
;;
|
||||
|
||||
*containerd*)
|
||||
[ "$arch" = "x86_64" ] && arch="amd64"
|
||||
regex="containerd-.*-linux-${arch}.tar.gz"
|
||||
;;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user