From 04a9cc4c043f53e05adb39f384998210d92896ee Mon Sep 17 00:00:00 2001 From: RJ Trujillo Date: Fri, 1 Dec 2023 09:52:34 -0700 Subject: [PATCH] feat: Enable NVIDIA driver version 545 (#81) Co-authored-by: Robert Sturla --- .github/workflows/build.yml | 4 +++- Containerfile.common | 4 ++-- Containerfile.nvidia | 6 +++--- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 989117fc..59fad78d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,12 +23,14 @@ jobs: kernel_flavor: [main, asus, fsync, surface] cfile_suffix: [common, nvidia] major_version: [37, 38, 39] - nvidia_version: [0, 470, 535] + nvidia_version: [0, 470, 535, 545] exclude: - cfile_suffix: common nvidia_version: 470 - cfile_suffix: common nvidia_version: 535 + - cfile_suffix: common + nvidia_version: 545 - cfile_suffix: nvidia nvidia_version: 0 - kernel_flavor: asus diff --git a/Containerfile.common b/Containerfile.common index a1c3efb3..ee7d8ef7 100644 --- a/Containerfile.common +++ b/Containerfile.common @@ -6,10 +6,10 @@ ARG SOURCE_IMAGE="${SOURCE_IMAGE:-base}" ARG SOURCE_ORG="${SOURCE_ORG:-fedora-ostree-desktops}" ARG BASE_IMAGE="quay.io/${SOURCE_ORG}/${SOURCE_IMAGE}" -ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-38}" +ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-39}" FROM ${BASE_IMAGE}:${FEDORA_MAJOR_VERSION} AS builder -ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-38}" +ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-39}" ARG KERNEL_FLAVOR="{KERNEL_FLAVOR:-main}" COPY build*.sh /tmp diff --git a/Containerfile.nvidia b/Containerfile.nvidia index 9659a181..3257167d 100644 --- a/Containerfile.nvidia +++ b/Containerfile.nvidia @@ -6,11 +6,11 @@ ARG SOURCE_IMAGE="${SOURCE_IMAGE:-base}" ARG SOURCE_ORG="${SOURCE_ORG:-fedora-ostree-desktops}" ARG BASE_IMAGE="quay.io/${SOURCE_ORG}/${SOURCE_IMAGE}" -ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-38}" +ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-39}" FROM ${BASE_IMAGE}:${FEDORA_MAJOR_VERSION} AS builder -ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-38}" -ARG NVIDIA_MAJOR_VERSION="${NVIDIA_MAJOR_VERSION:-535}" +ARG FEDORA_MAJOR_VERSION="${FEDORA_MAJOR_VERSION:-39}" +ARG NVIDIA_MAJOR_VERSION="${NVIDIA_MAJOR_VERSION:-545}" ARG KERNEL_FLAVOR="{KERNEL_FLAVOR:-main}" COPY build*.sh /tmp