Skip to content

Commit

Permalink
mod nvidia-smi to use vgpucompat shim too
Browse files Browse the repository at this point in the history
this is needed with frankenstein setup for the case of spoof
for gsp testing
  • Loading branch information
snowman committed Aug 3, 2023
1 parent 27ca072 commit 59c077b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions patch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ if [ ! -d "${VGPU}" ]; then
sed -e "s/${va//./\\.}/${vb}/g" -i ${VGPU}/${s}
patchelf --add-needed libvgpucompat.so ${VGPU}/${s}
done
patchelf --add-needed libvgpucompat.so ${VGPU}/nvidia-smi
set +x
# blobpatch ${VGPU}/libnvidia-vgpu.so.${vb} "$BASEDIR/patches/libnvidia-vgpu.so.${vb}.diff" || exit 1
else
Expand Down

0 comments on commit 59c077b

Please sign in to comment.