mirror of
https://github.com/unifi-utilities/unifios-utilities.git
synced 2024-08-30 18:32:21 +00:00
Runc and version artifacts
Former-commit-id: 290d60c82725b9222b1498eceec6f7ab12d047e6
This commit is contained in:
parent
dd033df1f3
commit
7de238d7c7
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -10,4 +10,5 @@
|
|||||||
*.json filter=lfs diff=lfs merge=lfs -text
|
*.json filter=lfs diff=lfs merge=lfs -text
|
||||||
*.0-dev filter=lfs diff=lfs merge=lfs -text
|
*.0-dev filter=lfs diff=lfs merge=lfs -text
|
||||||
*.patch 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
|
* text !filter !merge !diff
|
||||||
|
@ -2,24 +2,42 @@
|
|||||||
|
|
||||||
mkdir -p /mnt/data/.cache
|
mkdir -p /mnt/data/.cache
|
||||||
|
|
||||||
PODMAN_DL=/mnt/data/.cache/podman
|
PODMAN_VERSION=3.2.0-dev
|
||||||
CONMON_DL=/mnt/data/.cache/conmon
|
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
|
SECCOMP=/usr/share/container/seccomp.json
|
||||||
|
|
||||||
if [ ! -f CONMON_DL ]; then
|
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
|
fi
|
||||||
chmod +x $CONMON_DL
|
chmod +x $CONMON_DL
|
||||||
mv /usr/libexec/podman/conmon /usr/libexec/podman/conmon.old
|
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
|
ln -s $CONMON_DL /usr/libexec/podman/conmon
|
||||||
|
|
||||||
if [ ! -f $PODMAN_DL ]; then
|
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
|
fi
|
||||||
chmod +x $PODMAN_DL
|
chmod +x $PODMAN_DL
|
||||||
mv /usr/bin/podman /usr/bin/podman.old
|
if [ ! -f /usr/bin/podman.old ]; then
|
||||||
|
mv /usr/bin/podman /usr/bin/podman.old
|
||||||
|
fi
|
||||||
ln -s $PODMAN_DL /usr/bin/podman
|
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
|
if [ ! -f $SECCOMP ]; then
|
||||||
mkdir -p /usr/share/container/
|
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
|
curl -fsSLo /usr/share/container/seccomp.json https://raw.githubusercontent.com/boostchicken/udm-utilities/master/podman-update/bin/seccomp.json
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
1. Podman 3.2.0
|
1. Podman 3.2.0 (w/ updated conmon, and runc)
|
||||||
1. Persists through reboots and firmware updates
|
1. Persists through reboots and firmware updates
|
||||||
1. Full Docker / Docker Compose compatibility!
|
1. Full Docker / Docker Compose compatibility!
|
||||||
```sh
|
```sh
|
||||||
|
1
podman-update/bin/runc-1.0.0-rc95.REMOVED.git-id
Normal file
1
podman-update/bin/runc-1.0.0-rc95.REMOVED.git-id
Normal file
@ -0,0 +1 @@
|
|||||||
|
c846a7cc6d2e76760b88e21d29ff23bee25ffd34
|
Loading…
x
Reference in New Issue
Block a user