automation-tests/contrib/pkginstaller
Ashley Cui b27bfbc71e [CI:DOCS] Automatically set podman version in pkginstaller
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>
2022-08-25 16:07:18 -04:00
..
Resources Add support for building macOS pkg installer 2022-07-26 21:05:17 +05:30
scripts Add support for building macOS pkg installer 2022-07-26 21:05:17 +05:30
.gitignore Add support for building macOS pkg installer 2022-07-26 21:05:17 +05:30
Distribution.in Add support for building macOS pkg installer 2022-07-26 21:05:17 +05:30
Makefile [CI:DOCS] Automatically set podman version in pkginstaller 2022-08-25 16:07:18 -04:00
README.md pkginstaller: use correct GOARCH while building podman binaries 2022-08-04 16:54:11 +05:30
hvf.entitlements pkginstaller: sign qemu-system-* binary for the pkg 2022-08-03 21:20:10 +05:30
package.sh pkginstaller: use correct GOARCH value in case of arm build 2022-08-08 12:39:15 +05:30
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> 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

screenshot-macOS-pkg-podman