From f26fd618fdec38aa8be9c53a7533df2916f57e40 Mon Sep 17 00:00:00 2001 From: ver4a Date: Fri, 3 Apr 2026 00:59:39 +0200 Subject: [PATCH] Ignore dnf5 errors This is a workaround to this issue https://github.com/rpm-software-management/dnf5/issues/2507, the real bug is in the package and not rpm, but I don't have a better solution than completely ignoring the error right now. The build should be otherwise fine. --- containers/Dockerfile.kde-nvidia | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/containers/Dockerfile.kde-nvidia b/containers/Dockerfile.kde-nvidia index b5f3064..0c078e9 100644 --- a/containers/Dockerfile.kde-nvidia +++ b/containers/Dockerfile.kde-nvidia @@ -5,7 +5,7 @@ ARG NAMESPACE FROM ${REGISTRY_DOMAIN}/${NAMESPACE}/onc-kde:main # Install nvidia drivers -RUN dnf5 -y install akmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-cuda && \ +RUN dnf5 -y install akmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-cuda || true && \ akmods --force --kernels $(rpm -qa kernel | sed 's/kernel-//g') && \ rpm -e akmod-nvidia && \ dnf5 -y autoremove