Commit c78217e1 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

NVIDIA driver need kernel source and Module.symvers; disable rebuilding of...

NVIDIA driver need kernel source and Module.symvers; disable rebuilding of initramfs, backup and build kernel modules only
parent fc4efb46
......@@ -21,11 +21,14 @@ driver:
mkdir tmp
mount --bind tmp /tmp
$(MAKE) -C ../linux source
$(MAKE) -C ../linux/linux-$$(uname -r) modules
ln -s /lib /lib64
sh ./cuda_13.0.0_580.65.06_linux.run --extract=$(CURDIR)/cuda-13.0.0
sh cuda-13.0.0/NVIDIA-Linux-x86_64-580.65.06.run -x --target $(CURDIR)/driver
cd driver && ./nvidia-installer --no-questions --install-libglvnd --no-x-check --no-opengl-files --ui=none
cd driver && ./nvidia-installer --no-questions --install-libglvnd --no-x-check --no-opengl-files --ui=none --no-rebuild-initramfs --no-backup --kernel-modules-only
rm -rf cuda-13.0.0
$(MAKE) -C ../linux clean
umount /tmp
rm -rf tmp
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment