Runc and version artifacts

Former-commit-id: 290d60c82725b9222b1498eceec6f7ab12d047e6
This commit is contained in:
John D 2021-05-25 07:23:14 -07:00
parent dd033df1f3
commit 7de238d7c7
4 changed files with 27 additions and 7 deletions

1
.gitattributes vendored
View File

@ -10,4 +10,5 @@
*.json filter=lfs diff=lfs merge=lfs -text
*.0-dev filter=lfs diff=lfs merge=lfs -text
*.patch filter=lfs diff=lfs merge=lfs -text
*.0-rc95 filter=lfs diff=lfs merge=lfs -text
* text !filter !merge !diff

View File

@ -2,24 +2,42 @@
mkdir -p /mnt/data/.cache
PODMAN_DL=/mnt/data/.cache/podman
CONMON_DL=/mnt/data/.cache/conmon
PODMAN_VERSION=3.2.0-dev
RUNC_VERSION=1.0.0-rc95
CONMON_VERSION=2.0.27
PODMAN_DL=/mnt/data/.cache/podman-$PODMAN_VERSION
RUNC_DL=/mnt/data/.cache/runc-$RUNC_VERSION
CONMON_DL=/mnt/data/.cache/conmon-$CONMON_VERSION
SECCOMP=/usr/share/container/seccomp.json
if [ ! -f CONMON_DL ]; then
curl -fsSLo $CONMON_DL https://github.com/containers/conmon/releases/download/v2.0.27/conmon.arm64
curl -fsSLo $CONMON_DL https://github.com/containers/conmon/releases/download/v$CONMON_VERSION/conmon.arm64
fi
chmod +x $CONMON_DL
if [ ! -f /usr/libexec/podman/conmon.old ]; then
mv /usr/libexec/podman/conmon /usr/libexec/podman/conmon.old
fi
ln -s $CONMON_DL /usr/libexec/podman/conmon
if [ ! -f $PODMAN_DL ]; then
curl -fsSLo $PODMAN_DL https://raw.githubusercontent.com/boostchicken/udm-utilities/master/podman-update/bin/podman-3.2.0-dev
curl -fsSLo $PODMAN_DL https://raw.githubusercontent.com/boostchicken/udm-utilities/master/podman-update/bin/podman-$PODMAN_VERSION
fi
chmod +x $PODMAN_DL
if [ ! -f /usr/bin/podman.old ]; then
mv /usr/bin/podman /usr/bin/podman.old
fi
ln -s $PODMAN_DL /usr/bin/podman
if [ ! -f $RUNC_DL ]; then
curl -fsSLo $RUNC_DL https://raw.githubusercontent.com/boostchicken/udm-utilities/master/podman-update/bin/runc-$RUNC_VERSION
fi
chmod +x $RUNC_DL
if [ ! -f /usr/bin/runc.old ]; then
mv /usr/bin/runc /usr/bin/runc.old
fi
ln -s $RUNC_DL /usr/bin/runc
if [ ! -f $SECCOMP ]; then
mkdir -p /usr/share/container/
curl -fsSLo /usr/share/container/seccomp.json https://raw.githubusercontent.com/boostchicken/udm-utilities/master/podman-update/bin/seccomp.json

View File

@ -2,7 +2,7 @@
## Features
1. Podman 3.2.0
1. Podman 3.2.0 (w/ updated conmon, and runc)
1. Persists through reboots and firmware updates
1. Full Docker / Docker Compose compatibility!
```sh

View File

@ -0,0 +1 @@
c846a7cc6d2e76760b88e21d29ff23bee25ffd34