Skip to content

Commit 64c1151

Browse files
Shiva Kumarshivakunv
authored andcommitted
Add support for rhel10.0 and rhel10.1
Signed-off-by: Shiva Kumar (SW-CLOUD) <[email protected]>
1 parent 386913d commit 64c1151

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rhel10/nvidia-driver

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,8 @@ _start_daemons() {
744744
_store_driver_digest() {
745745
local digest_file="${RUN_DIR}/nvidia-driver.state"
746746
echo "Storing driver configuration digest..."
747-
echo "${DRIVER_CONFIG_DIGEST}" > "$digest_file"
747+
local current_digest="${DRIVER_CONFIG_DIGEST:-}"
748+
echo "${current_digest}" > "$digest_file"
748749
echo "Driver configuration digest stored at $digest_file"
749750
}
750751

0 commit comments

Comments
 (0)