mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-17 17:02:42 +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>
This commit is contained in:
parent
59bd534827
commit
2ac7ac1dd2
@ -145,6 +145,7 @@ github_get_release_file_url()
|
|||||||
|
|
||||||
local arch
|
local arch
|
||||||
arch=$(uname -m)
|
arch=$(uname -m)
|
||||||
|
[ "$arch" = "x86_64" ] && arch="amd64"
|
||||||
|
|
||||||
local regex=""
|
local regex=""
|
||||||
|
|
||||||
@ -154,7 +155,6 @@ github_get_release_file_url()
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
*containerd*)
|
*containerd*)
|
||||||
[ "$arch" = "x86_64" ] && arch="amd64"
|
|
||||||
regex="containerd-.*-linux-${arch}.tar.gz"
|
regex="containerd-.*-linux-${arch}.tar.gz"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user