Skip to content

Commit

Permalink
podman: Fix extraction of podman 4.4.4 binary
Browse files Browse the repository at this point in the history
fixes crc-org#707 going forward the archive will always containing
the podman binary inside a bin/ dir

This reverts commit 4ccff2c.
  • Loading branch information
anjannath committed May 3, 2023
1 parent 660e344 commit 57fdf49
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions createdisk-library.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 57fdf49

Please sign in to comment.