From 2ac7ac1dd2da6cc3db2e132a77ad280269bf0a42 Mon Sep 17 00:00:00 2001 From: "James O. D. Hunt" Date: Thu, 26 Oct 2023 15:27:37 +0100 Subject: [PATCH] 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 --- utils/kata-manager.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/kata-manager.sh b/utils/kata-manager.sh index 0bdefe9796..d8e7f59dfc 100755 --- a/utils/kata-manager.sh +++ b/utils/kata-manager.sh @@ -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" ;;