add(podman,linux)

This commit is contained in:
Jacob Heider 2023-11-07 15:04:00 -05:00 committed by Jacob Heider
parent 709c3d76ed
commit 90e1365c01

View file

@ -5,13 +5,14 @@ distributable:
versions:
github: containers/podman/releases/tags
platforms:
- darwin
#fixme: - linux once qemu is built
provides:
- bin/podman
- bin/podman-mac-helper
linux:
- bin/podman
- bin/podman-remote
darwin:
- bin/podman
- bin/podman-remote
- bin/podman-mac-helper
dependencies:
qemu.org: '*'
@ -32,11 +33,19 @@ build:
s_\(^var defaultHelperBinariesDir.*\)_\
\1\n "\$BINDIR/../../../$GVISOR_MAJOR/bin",_
- make --jobs {{ hw.concurrency }} podman-remote
- make --jobs {{ hw.concurrency }} podman-mac-helper
- mkdir -p "{{ prefix }}"/bin
- mv bin/"{{ hw.platform }}"/* "{{ prefix }}"/bin
- ln -s podman "{{ prefix }}"/bin/podman-remote
- make --jobs {{ hw.concurrency }} podman-remote
- run: |
mv bin/podman-remote "{{ prefix }}"/bin/
ln -s podman-remote "{{ prefix }}"/bin/podman
if: linux
- run: |
make --jobs {{ hw.concurrency }} podman-mac-helper
mv bin/darwin/podman{-mac-helper,} "{{ prefix }}"/bin/
ln -s podman "{{ prefix }}"/bin/podman-remote
if: darwin
env:
# path for gvproxy to add to platform config
GVISOR_MAJOR: |-