From dfe2346ccf73a425b696729a62c20edc19020374 Mon Sep 17 00:00:00 2001 From: Benjamin Sherman Date: Fri, 19 Apr 2024 00:17:24 -0500 Subject: [PATCH] chore: drop nvidia version from akmods-nvidia This is required to be compatible with updates to akmods which drop the nvidia version tag from `akmods-nvidia` images. Relates: https://github.com/ublue-os/akmods/pull/171 --- Containerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Containerfile b/Containerfile index ad899393aa..3d0a65e225 100644 --- a/Containerfile +++ b/Containerfile @@ -811,7 +811,6 @@ ARG AKMODS_FLAVOR="${AKMODS_FLAVOR:-fsync-lts}" ARG IMAGE_BRANCH="${IMAGE_BRANCH:-main}" ARG BASE_IMAGE_NAME="${BASE_IMAGE_NAME:-kinoite}" ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-39}" -ARG NVIDIA_MAJOR_VERSION="550" # Fetch NVIDIA driver COPY system_files/nvidia/shared system_files/nvidia/${BASE_IMAGE_NAME} / @@ -828,7 +827,7 @@ RUN rpm-ostree override remove \ ostree container commit # Install NVIDIA driver -COPY --from=ghcr.io/ublue-os/akmods-nvidia:${AKMODS_FLAVOR}-${FEDORA_MAJOR_VERSION}-${NVIDIA_MAJOR_VERSION} /rpms /tmp/akmods-rpms +COPY --from=ghcr.io/ublue-os/akmods-nvidia:${AKMODS_FLAVOR}-${FEDORA_MAJOR_VERSION} /rpms /tmp/akmods-rpms RUN wget https://raw.githubusercontent.com/ublue-os/hwe/main/nvidia-install.sh -O /tmp/nvidia-install.sh && \ chmod +x /tmp/nvidia-install.sh && \ IMAGE_NAME="${BASE_IMAGE_NAME}" RPMFUSION_MIRROR="" /tmp/nvidia-install.sh && \