spiegel_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
..
Resources Use svg for pkginstaller banner 2025-03-06 15:11:13 -05:00
scripts Add man pages to Mac installer 2024-12-10 10:05:46 -06:00
.gitignore [CI:BUILD] Build universal Podman binary for Mac installer 2024-03-07 09:09:32 -05:00
Distribution.in Use svg for pkginstaller banner 2025-03-06 15:11:13 -05:00
krunkit.entitlements macos-installer: bundle krunkit 2024-06-24 14:42:04 +02:00
Makefile make curl error on non success status codes 2026-02-06 17:29:49 +01:00
package.sh Remove Intel MacOS support 2025-12-07 07:03:06 -06:00
README.md Remove Intel MacOS support 2025-12-07 07:03:06 -06:00
vfkit.entitlements macos installer: Add vfkit entitlement 2024-02-27 17:47:49 +01:00
welcome.html.in Add support for building macOS pkg installer 2022-07-26 21:05:17 +05:30

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