From 57fdf491009de7faa0d62ca13ff52902e74ffef9 Mon Sep 17 00:00:00 2001 From: Anjan Nath Date: Wed, 3 May 2023 18:01:39 +0530 Subject: [PATCH] podman: Fix extraction of podman 4.4.4 binary fixes #707 going forward the archive will always containing the podman binary inside a bin/ dir This reverts commit 4ccff2c48cec40217cfbc082af05b2f865402cec. --- createdisk-library.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/createdisk-library.sh b/createdisk-library.sh index eca2eb7a..b7d2fad8 100755 --- a/createdisk-library.sh +++ b/createdisk-library.sh @@ -353,8 +353,9 @@ function download_podman() { local arch=$2 mkdir -p podman-remote/linux - curl -L https://github.com/containers/podman/releases/download/v${version}/podman-remote-static-linux_${arch}.tar.gz | tar -zx -C podman-remote/linux podman-remote-static-linux_${arch} - mv podman-remote/linux/podman-remote-static-linux_${arch} podman-remote/linux/podman-remote + curl -L https://github.com/containers/podman/releases/download/v${version}/podman-remote-static-linux_${arch}.tar.gz | tar -zx -C podman-remote/linux ./bin/podman-remote-static-linux_${arch} + mv podman-remote/linux/bin/podman-remote-static-linux_${arch} podman-remote/linux/podman-remote + rm -fr podman-remote/linux/bin chmod +x podman-remote/linux/podman-remote if [ -n "${SNC_GENERATE_MACOS_BUNDLE}" ]; then