Skip to content

Commit

Permalink
Revert "podman: Fix extraction of podman 4.4.2 binary"
Browse files Browse the repository at this point in the history
This reverts commit 4ccff2c.

fixes #707 they are going to have the dir structure always containing
the podman binary inside a bin/ dir
  • Loading branch information
anjannath committed May 3, 2023
1 parent 660e344 commit ef8e130
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 ef8e130

Please sign in to comment.