diff options
author | Anjan Nath <kaludios@gmail.com> | 2022-08-04 12:18:31 +0530 |
---|---|---|
committer | Anjan Nath <kaludios@gmail.com> | 2022-08-04 16:54:11 +0530 |
commit | 623b0c57f6914573403f803920a7e4926477c928 (patch) | |
tree | 20e6fba972ea3e74935757f01646ccad9e0bbcf1 /contrib/pkginstaller/package.sh | |
parent | ccbb8e7444423306691f8ec441ed09387718d6e5 (diff) | |
download | podman-623b0c57f6914573403f803920a7e4926477c928.tar.gz podman-623b0c57f6914573403f803920a7e4926477c928.tar.bz2 podman-623b0c57f6914573403f803920a7e4926477c928.zip |
pkginstaller: use correct GOARCH while building podman binaries
we were not using the correct GOARCH to build the podman remote
and podman-mac-helper binaries, this uses the ARCH value passed
to the make invocation to set the GORACH
[NO NEW TESTS NEEDED]
Signed-off-by: Anjan Nath <kaludios@gmail.com>
Diffstat (limited to 'contrib/pkginstaller/package.sh')
-rwxr-xr-x | contrib/pkginstaller/package.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pkginstaller/package.sh b/contrib/pkginstaller/package.sh index ca8d54f7f..bb91fe01f 100755 --- a/contrib/pkginstaller/package.sh +++ b/contrib/pkginstaller/package.sh @@ -17,8 +17,8 @@ arch=$(cat "${BASEDIR}/ARCH") function build_podman() { pushd "$1" - make podman-remote HELPER_BINARIES_DIR="${HELPER_BINARIES_DIR}" - make podman-mac-helper + make GOARCH="${arch}" podman-remote HELPER_BINARIES_DIR="${HELPER_BINARIES_DIR}" + make GOARCH="${arch}" podman-mac-helper cp bin/darwin/podman "contrib/pkginstaller/out/packaging/${binDir}/podman" cp bin/darwin/podman-mac-helper "contrib/pkginstaller/out/packaging/${binDir}/podman-mac-helper" popd |