diff --git a/podman-update/00-podman-update.sh b/podman-update/00-podman-update.sh index 8064409..cb9b2be 100644 --- a/podman-update/00-podman-update.sh +++ b/podman-update/00-podman-update.sh @@ -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 -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 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 -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 +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 diff --git a/podman-update/README.md b/podman-update/README.md index cac7b0a..d35340e 100644 --- a/podman-update/README.md +++ b/podman-update/README.md @@ -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 diff --git a/podman-update/bin/runc-1.0.0-rc95.REMOVED.git-id b/podman-update/bin/runc-1.0.0-rc95.REMOVED.git-id new file mode 100644 index 0000000..cd9a6dc --- /dev/null +++ b/podman-update/bin/runc-1.0.0-rc95.REMOVED.git-id @@ -0,0 +1 @@ +c846a7cc6d2e76760b88e21d29ff23bee25ffd34 \ No newline at end of file