From e6fa6ea6e181ebc375f4ff9eaea3076a5326c423 Mon Sep 17 00:00:00 2001 From: Wanjohi <71614375+wanjohiryan@users.noreply.github.com> Date: Sat, 25 May 2024 00:07:27 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(server):=20Support=20the=20`?= =?UTF-8?q?Open=20Kernel=20Module`=20(#62)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description **What issue are you solving (or what feature are you adding) and how are you doing it?** Currently, the container fails when trying to download drivers for a container running non-proprietary Nvidia drivers. So, this is a fix which searches for numbers rather than a fixed point in the string. --- .scripts/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.scripts/entrypoint.sh b/.scripts/entrypoint.sh index e25231fd..42c4fee3 100644 --- a/.scripts/entrypoint.sh +++ b/.scripts/entrypoint.sh @@ -67,7 +67,7 @@ netris-proton -i if ! command -v nvidia-xconfig &>/dev/null; then # Driver version is provided by the kernel through the container toolkit export DRIVER_ARCH="$(dpkg --print-architecture | sed -e 's/arm64/aarch64/' -e 's/armhf/32bit-ARM/' -e 's/i.*86/x86/' -e 's/amd64/x86_64/' -e 's/unknown/x86_64/')" - export DRIVER_VERSION="$(head -n1