Skip to content

Commit

Permalink
ubuntu24.04 ci pipeline fix
Browse files Browse the repository at this point in the history
Signed-off-by: shiva kumar <[email protected]>
  • Loading branch information
shivakunv committed Nov 22, 2024
1 parent 90ac868 commit 345ad5a
Showing 1 changed file with 1 addition and 1 deletion.
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 || true
# regctl image get-file ghcr.io/nvidia/driver:base-${BASE_TARGET}-${KERNEL_FLAVOR}-${DRIVER_BRANCH} /var/kernel_version.txt ./kernel_version.txt || 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 345ad5a

Please sign in to comment.