summaryrefslogtreecommitdiff
path: root/contrib/pkginstaller/README.md
diff options
context:
space:
mode:
authorAnjan Nath <kaludios@gmail.com>2022-06-08 14:38:20 +0530
committerAshley Cui <acui@redhat.com>2022-08-04 09:44:36 -0400
commit9a820b480a63f7453512622bc053264c6f1c34fb (patch)
tree789aefe78673f8e3788b43926bdad9ce51c2c737 /contrib/pkginstaller/README.md
parent49ae6cfed67dbc38408c85b3be52af69fa8f031d (diff)
downloadpodman-9a820b480a63f7453512622bc053264c6f1c34fb.tar.gz
podman-9a820b480a63f7453512622bc053264c6f1c34fb.tar.bz2
podman-9a820b480a63f7453512622bc053264c6f1c34fb.zip
Add support for building macOS pkg installer
it installs podman and supporting binaries along with qemu to have a functioning podman install using a pkg podman and podman-mac-helper is compiled from source gvproxy binary is downloaded from its github releases and qemu from github release of containers/podman-machine-qemu [NO NEW TESTS NEEDED] Signed-off-by: Anjan Nath <kaludios@gmail.com>
Diffstat (limited to 'contrib/pkginstaller/README.md')
-rw-r--r--contrib/pkginstaller/README.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/contrib/pkginstaller/README.md b/contrib/pkginstaller/README.md
new file mode 100644
index 000000000..37c59ce04
--- /dev/null
+++ b/contrib/pkginstaller/README.md
@@ -0,0 +1,22 @@
+## How to build
+
+```sh
+$ make ARCH=<amd64 | aarch64> NO_CODESIGN=1 pkginstaller
+
+# or to create signed pkg
+$ make ARCH=<amd64 | aarch64> CODESIGN_IDENTITY=<ID> PRODUCTSIGN_IDENTITY=<ID> pkginstaller
+```
+
+The generated pkg will be written to `out/podman-macos-installer-*.pkg`.
+Currently the pkg installs `podman`, `qemu`, `gvproxy` and `podman-mac-helper` to `/Applications/podman`
+
+The `qemu` build it uses is from [containers/podman-machine-qemu](https://github.com/containers/podman-machine-qemu)
+
+## Uninstalling
+
+```sh
+$ sudo rm -rf /opt/podman
+```
+
+### Screenshot
+<img width="626" alt="screenshot-macOS-pkg-podman" src="https://user-images.githubusercontent.com/8885742/157380992-2e3b1573-34a0-4aa0-bdc1-a85f4792a1d2.png">