From 023f8293bd2604bc11f7890674779a1db96001a0 Mon Sep 17 00:00:00 2001 From: shiva kumar Date: Tue, 3 Dec 2024 09:27:25 +0530 Subject: [PATCH] ubuntu24.04 precompile support Signed-off-by: shiva kumar --- .github/workflows/precompiled.yaml | 2 +- base/generate-ci-config | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/precompiled.yaml b/.github/workflows/precompiled.yaml index 00772500..d12bc283 100644 --- a/.github/workflows/precompiled.yaml +++ b/.github/workflows/precompiled.yaml @@ -55,7 +55,7 @@ jobs: # get kernel flavors # KERNEL_FLAVORS=("aws" "azure" "generic" "nvidia" "oracle") # KERNEL_FLAVORS=("azure" "generic") - # KERNEL_FLAVORS=("nvidia") + KERNEL_FLAVORS=("nvidia") kernel_flavors_json=$(printf '%s\n' "${KERNEL_FLAVORS[@]}" | jq -R . | jq -cs .) echo "kernel_flavors=$kernel_flavors_json" >> $GITHUB_OUTPUT diff --git a/base/generate-ci-config b/base/generate-ci-config index 9666ae11..56b8daa9 100755 --- a/base/generate-ci-config +++ b/base/generate-ci-config @@ -16,7 +16,6 @@ export DEBIAN_FRONTEND=noninteractive apt-get update -y -qq > /dev/null # Generate a list of all kernel versions which have NVIDIA precompiled driver packages available. -# DIST="ubuntu-$(lsb_release -sr)" SUPPORTED_KERNELS=$(apt-cache search linux-objects-nvidia-${DRIVER_BRANCH}-server.*${LTS_KERNEL}.*${KERNEL_FLAVOR} | awk '{print $1}' | grep -v "open" | sed -e "s/^.*${LTS_KERNEL}/${LTS_KERNEL}/" | sort -n -t'-' -k2) # Grab latest driver version for nvidia-utils-${DRIVER_BRANCH}-server