mirror of
https://github.com/containers/podman
synced 2024-10-18 16:24:34 +00:00
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>
This commit is contained in:
parent
ccbb8e7444
commit
623b0c57f6
|
@ -11,7 +11,7 @@ $ make ARCH=<amd64 | aarch64> CODESIGN_IDENTITY=<ID> PRODUCTSIGN_IDENTITY=<ID> N
|
|||
```
|
||||
|
||||
The generated pkg will be written to `out/podman-macos-installer-*.pkg`.
|
||||
Currently the pkg installs `podman`, `qemu`, `gvproxy` and `podman-mac-helper` to `/Applications/podman`
|
||||
Currently the pkg installs `podman`, `qemu`, `gvproxy` and `podman-mac-helper` to `/opt/podman`
|
||||
|
||||
The `qemu` build it uses is from [containers/podman-machine-qemu](https://github.com/containers/podman-machine-qemu)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue