Skip to content

Commit

Permalink
ubuntu24.04 precompile support
Browse files Browse the repository at this point in the history
Signed-off-by: shiva kumar <[email protected]>
  • Loading branch information
shivakunv committed Dec 3, 2024
1 parent 023f829 commit bb08cae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/precompiled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ jobs:
sleep 10
done
docker images
docker manifest inspect ghcr.io/nvidia/driver:base
echo "SHIVA 1111 $OUT_IMAGE"
echo "SHIVA 2222222"
- name: Build image
Expand Down Expand Up @@ -200,6 +199,11 @@ jobs:
VAR_NAME_LTS_KERNEL=$(echo lts_kernel_${DIST} | sed 's/\./_/g')
echo "VAR_NAME_LTS_KERNEL=${VAR_NAME_LTS_KERNEL}" >> $GITHUB_ENV
# SHIVA
./tests/scripts/findkernelversion.sh "$VAR_NAME_BASE_TARGET" nvidia 550 ${DIST}
exit 1
# SHIVA
- name: Set kernel version
env:
DIST: ${{ matrix.dist }}
Expand Down
2 changes: 1 addition & 1 deletion tests/scripts/findkernelversion.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ chmod a+x bin/regctl
export PATH=$(pwd)/bin:${PATH}

# calculate kernel version of latest image
regctl image get-file ghcr.io/nvidia/driver:base-${BASE_TARGET}-${KERNEL_FLAVOR}-${DRIVER_BRANCH} /var/kernel_version.txt ./kernel_version.txt 2>/dev/null || true
regctl -v debug image get-file ghcr.io/nvidia/driver:base-${BASE_TARGET}-${KERNEL_FLAVOR}-${DRIVER_BRANCH} /var/kernel_version.txt ./kernel_version.txt 2>/dev/null || true
if [[ -f ./kernel_version.txt && -s ./kernel_version.txt ]]; then
# File exists and is not empty
export $(grep -oP 'KERNEL_VERSION=[^ ]+' ./kernel_version.txt)
Expand Down

0 comments on commit bb08cae

Please sign in to comment.