From 89b095b9fd2bc0da0fd9ca46d7419d74bb21678d Mon Sep 17 00:00:00 2001 From: Joshua Stone Date: Thu, 16 Feb 2023 16:26:26 -0500 Subject: [PATCH] fix: Keep backup of original nvidia container runtime config.toml --- Containerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Containerfile b/Containerfile index c66ea33b..950822a1 100644 --- a/Containerfile +++ b/Containerfile @@ -94,6 +94,7 @@ RUN KERNEL_VERSION="$(rpm -q kernel --queryformat '%{VERSION}-%{RELEASE}.%{ARCH} "/tmp/akmods/${NVIDIA_PACKAGE_NAME}/kmod-${NVIDIA_PACKAGE_NAME}-${KERNEL_VERSION}-${NVIDIA_FULL_VERSION#*:}.rpm" \ /tmp/ublue-os-nvidia-addons/rpmbuild/RPMS/noarch/ublue-os-nvidia-addons-*.rpm \ && \ + mv cp /etc/nvidia-container-runtime/config.toml{,.orig} && \ cp /etc/nvidia-container-runtime/config{-rootless,}.toml \ && \ semodule --verbose --install /usr/share/selinux/packages/nvidia-container.pp \