podman/contrib/pkginstaller
Brent Baude d7bc7b7b41 do not require policy.json
we are having second thoughts about *requiring* a policy.json on podman
machine hosts.  we are concerned that we need to work out some more use
cases to be sure we do not make choices now that limit us in the near
term future. for example, should the policy files be the same for
container images and machine images? And should one live on the host
machine and the other live in the machine?

therefore, if a policy.json *is* present in the correct location, we will use and honor it; however, if it does not, we will allow the machine image to be pulled without a policy.

Signed-off-by: Brent Baude <baude@redhat.com>
Co-authored-by: Paul Holzinger <45212748+Luap99@users.noreply.github.com>
Signed-off-by: Brent Baude <bbaude@redhat.com>
2024-03-13 09:07:51 -05:00
..
Resources Add support for building macOS pkg installer 2022-07-26 21:05:17 +05:30
scripts [CI:BUILD] Add VFKit into pkginstaller, remove QEMU 2024-02-13 10:20:03 -05:00
.gitignore [CI:BUILD] Build universal Podman binary for Mac installer 2024-03-07 09:09:32 -05:00
Distribution.in Add support for building macOS pkg installer 2022-07-26 21:05:17 +05:30
Makefile do not require policy.json 2024-03-13 09:07:51 -05:00
README.md [CI:BUILD] Build universal Podman binary for Mac installer 2024-03-07 09:09:32 -05:00
package.sh do not require policy.json 2024-03-13 09:07:51 -05: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

README.md

How to build

$ make ARCH=<amd64 | aarch64 | universal> NO_CODESIGN=1 pkginstaller

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

# or to prepare a signed and notarized pkg for release
$ make ARCH=<amd64 | aarch64 | universal> 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