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