1
0
Fork 0

Ignore dnf5 errors
Some checks failed
/ Build onc-kde:main (push) Failing after 4m10s
/ Build onc-kde:main-ver4a (push) Has been skipped
/ Build onc-kde:main-nvidia (push) Has been skipped
/ Build onc-kde:main-nvidia-ver4a (push) Has been skipped

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.
This commit is contained in:
ver4a 2026-04-03 00:59:39 +02:00
parent e57c274511
commit f26fd618fd

View file

@ -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