Files
podman/contrib/pkginstaller
Paul Holzinger af7c36eae3 make curl error on non success status codes
By default something like a 404 will not make curl exit with an error
code. This is problematic for obvious reasons and instead of the file
you want you may now have some 404 html text instead.

I noticed this in #28003 which well just build fine installers except
the binary downloaded by the installer Makefile simply did not exist.

So to address that add --fail to most curl commands.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2026-02-06 17:29:49 +01:00
..
2025-03-06 15:11:13 -05:00
2024-12-10 10:05:46 -06:00
2025-12-07 07:03:06 -06:00
2025-12-07 07:03:06 -06:00

How to build

$ make ARCH=aarch64 NO_CODESIGN=1 pkginstaller

# or to create signed pkg
$ make ARCH=aarch64 CODESIGN_IDENTITY=<ID> PRODUCTSIGN_IDENTITY=<ID> pkginstaller

# or to prepare a signed and notarized pkg for release
$ make ARCH=aarch64 CODESIGN_IDENTITY=<ID> PRODUCTSIGN_IDENTITY=<ID> NOTARIZE_USERNAME=<appleID> NOTARIZE_PASSWORD=<appleID-password> NOTARIZE_TEAM=<team-id> notarize

The generated pkg will be written to out/podman-macos-installer-*.pkg. Currently the pkg installs podman, vfkit, gvproxy and podman-mac-helper to /opt/podman

Uninstalling

$ sudo rm -rf /opt/podman

Screenshot

screenshot-macOS-pkg-podman