Removing r2modman

This commit is contained in:
Ben Radey
2025-11-12 22:45:07 -05:00
parent f82059fd29
commit 7ac1d426a6
+3 -2
View File
@@ -44,13 +44,14 @@ RUN rpm --import \
dnf5 swap -y ffmpeg-free ffmpeg --allowerasing && \ dnf5 swap -y ffmpeg-free ffmpeg --allowerasing && \
dnf5 swap -y mesa-va-drivers mesa-va-drivers-freeworld && \ dnf5 swap -y mesa-va-drivers mesa-va-drivers-freeworld && \
dnf5 swap -y mesa-vdpau-drivers mesa-vdpau-drivers-freeworld && \ dnf5 swap -y mesa-vdpau-drivers mesa-vdpau-drivers-freeworld && \
dnf5 install -y $(curl -s https://api.github.com/repos/ebkr/r2modmanPlus/releases/latest | jq -r '.assets[] | select(.name | endswith(".rpm")) | .browser_download_url') && \
dnf5 clean all dnf5 clean all
# dnf5 install -y $(curl -s https://api.github.com/repos/ebkr/r2modmanPlus/releases/latest | jq -r '.assets[] | select(.name | endswith(".rpm")) | .browser_download_url') && \
# TODO: Remove this `|| true` hack once post scriptlets no longer make dnf exit with non-zero # TODO: Remove this `|| true` hack once post scriptlets no longer make dnf exit with non-zero
RUN dnf5 install -y akmod-nvidia xorg-x11-drv-nvidia-cuda proton-vpn-gnome-desktop || true RUN dnf5 install -y akmod-nvidia xorg-x11-drv-nvidia-cuda proton-vpn-gnome-desktop || true
# TODO: Remove these unnecessary checks to make sure the packages above actually got installed. rpm exits non-zero if the package is not installed and aborts the Containerfile build # TODO: Remove these unnecessary checks to make sure the packages above actually got installed. rpm exits non-zero if the package is not installed and aborts the Containerfile build
RUN rpm -q akmod-nvidia && rpm -q proton-vpn-gnome-desktop RUN rpm -q akmod-nvidia && rpm -q xorg-x11-drv-nvidia-cuda && rpm -q proton-vpn-gnome-desktop
RUN /usr/sbin/akmods --force --kernels "$(rpm -qa kernel --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')" RUN /usr/sbin/akmods --force --kernels "$(rpm -qa kernel --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"