mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
add(podman,linux)
This commit is contained in:
parent
709c3d76ed
commit
90e1365c01
1 changed files with 19 additions and 10 deletions
|
@ -5,12 +5,13 @@ distributable:
|
||||||
versions:
|
versions:
|
||||||
github: containers/podman/releases/tags
|
github: containers/podman/releases/tags
|
||||||
|
|
||||||
platforms:
|
|
||||||
- darwin
|
|
||||||
#fixme: - linux once qemu is built
|
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
|
linux:
|
||||||
- bin/podman
|
- bin/podman
|
||||||
|
- bin/podman-remote
|
||||||
|
darwin:
|
||||||
|
- bin/podman
|
||||||
|
- bin/podman-remote
|
||||||
- bin/podman-mac-helper
|
- bin/podman-mac-helper
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -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: |-
|
||||||
|
|
Loading…
Reference in a new issue