our q2admin build is x86_64 only right now
Build Container Image / build_arm64 (push) Successful in 19s Details
Build Container Image / build_armhf (push) Successful in -2m12s Details
Build Container Image / publish_arm64 (push) Successful in 12s Details
Build Container Image / build_riscv64 (push) Successful in 34s Details
Build Container Image / build_amd64 (push) Successful in 50s Details
Build Container Image / publish_armhf (push) Successful in -2m20s Details
Build Container Image / publish_riscv64 (push) Successful in 18s Details
Build Container Image / build_manifest (push) Failing after 12s Details
Build Container Image / publish_amd64 (push) Successful in 31s Details
Build Container Image / publish_manifest (push) Successful in -2m17s Details

This commit is contained in:
Daniel Wolf 2023-05-04 14:06:14 -04:00
parent c38dd81174
commit 821875e064
Signed by: nephatrine
GPG Key ID: 59D70EC2E4AAB4D0
2 changed files with 21 additions and 13 deletions

View File

@ -1,3 +1,9 @@
This is a precompiled version of q2admin for this system that should work with the engine on the container.
This is a precompiled version of q2admin for this system that should work with
the engine on the container.
It is NOT enabled by default. To use it for one or more games, simply copy the game.so here into the game folder you want (renaming any existing game.so to game.real.so) and place the q2admin*.txt files in either the base data/quake2 folder or in the game folder. The baseq2, 3zb2, ctf, rogue, smd, xatrix, and zaero mods all have a game.real.so already contained within the container, so you can just copy the q2admin game.so over for those.
It is NOT enabled by default. To use it for one or more games, simply copy the
game.so here into the game folder you want (renaming any existing game.so to
game.real.so) and place the q2admin*.txt files in either the base data/quake2
folder or in the game folder. The baseq2, 3zb2, ctf, rogue, xatrix, zaero,
lmctf, openffa, and opentdm mods all have a game.real.so already contained
within the container, so you can just copy the q2admin game.so over for those.

View File

@ -134,17 +134,19 @@ fi
# DOWNLOAD Q2ADMIN
if [[ ! -d /mnt/config/data/quake2/q2admin ]]; then
/command/s6-setuidgid guardian /bin/mkdir -p /mnt/config/data/quake2/q2admin
fi
if [[ ! -e /mnt/config/data/quake2/q2admin/game.so ]]; then
/usr/bin/wget -O /tmp/q2admin-nxmod_x86_64-alpine-linux-musl.tar.gz https://files.nephatrine.net/archives/q2admin-nxmod_x86_64-alpine-linux-musl.tar.gz \
&& /command/s6-setuidgid guardian /bin/tar -C /mnt/config/data/quake2/q2admin -xvzf /tmp/q2admin-nxmod_x86_64-alpine-linux-musl.tar.gz
/usr/bin/wget -O /tmp/q2admin-nxmod_noarch.tar.gz https://files.nephatrine.net/archives/q2admin-nxmod_noarch.tar.gz \
&& /command/s6-setuidgid guardian /bin/tar -C /mnt/config/data/quake2/q2admin -xvzf /tmp/q2admin-nxmod_noarch.tar.gz
fi
if [[ -d /opt/quake2-data/q2admin ]]; then
/command/s6-setuidgid guardian /bin/cp -Rn /opt/quake2-data/q2admin/* /mnt/config/data/quake2/q2admin/
if [[ && "$(uname)" == "x86_64" ]]; then
if [[ ! -d /mnt/config/data/quake2/q2admin ]]; then
/command/s6-setuidgid guardian /bin/mkdir -p /mnt/config/data/quake2/q2admin
fi
if [[ ! -e /mnt/config/data/quake2/q2admin/game.so ]]; then
/usr/bin/wget -O /tmp/q2admin-nxmod_x86_64-alpine-linux-musl.tar.gz https://files.nephatrine.net/archives/q2admin-nxmod_x86_64-alpine-linux-musl.tar.gz \
&& /command/s6-setuidgid guardian /bin/tar -C /mnt/config/data/quake2/q2admin -xvzf /tmp/q2admin-nxmod_x86_64-alpine-linux-musl.tar.gz
/usr/bin/wget -O /tmp/q2admin-nxmod_noarch.tar.gz https://files.nephatrine.net/archives/q2admin-nxmod_noarch.tar.gz \
&& /command/s6-setuidgid guardian /bin/tar -C /mnt/config/data/quake2/q2admin -xvzf /tmp/q2admin-nxmod_noarch.tar.gz
fi
if [[ -d /opt/quake2-data/q2admin ]]; then
/command/s6-setuidgid guardian /bin/cp -Rn /opt/quake2-data/q2admin/* /mnt/config/data/quake2/q2admin/
fi
fi
# COPY YAMAGI FIXES OVER