Allow the pkginstaller makefile target to take advantage of Podman's version binary, alleviating the need to manually set Podman's version (and inevitably forgetting to do so). This means the pkginstaller Makefile will automatically detect what version of Podman we're packaging. Signed-off-by: Ashley Cui <acui@redhat.com> |
||
|---|---|---|
| .. | ||
| Resources | ||
| scripts | ||
| .gitignore | ||
| Distribution.in | ||
| Makefile | ||
| README.md | ||
| hvf.entitlements | ||
| package.sh | ||
| welcome.html.in | ||
README.md
How to build
$ make ARCH=<amd64 | aarch64> NO_CODESIGN=1 pkginstaller
# or to create signed pkg
$ make ARCH=<amd64 | aarch64> CODESIGN_IDENTITY=<ID> PRODUCTSIGN_IDENTITY=<ID> pkginstaller
# or to prepare a signed and notarized pkg for release
$ make ARCH=<amd64 | 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, qemu, gvproxy and podman-mac-helper to /opt/podman
The qemu build it uses is from containers/podman-machine-qemu
Uninstalling
$ sudo rm -rf /opt/podman
Screenshot