Subversion Repositories livecd

Rev

Rev 1 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1 Rev 43
Line 353... Line 353...
353
	NVLOG=/var/log/nvidia.log
353
	NVLOG=/var/log/nvidia.log
354
	# assuming that the kernel modules are already build 
354
	# assuming that the kernel modules are already build 
355
	# link to Nvidia libs
355
	# link to Nvidia libs
356
	ln -sf ../../usr/X11R6/$LIB/libGL.so.1.${nvidia_version} /usr/$LIB/libGL.so
356
	ln -sf ../../usr/X11R6/$LIB/libGL.so.1.${nvidia_version} /usr/$LIB/libGL.so
357
	ln -sf libGL.so.1.${nvidia_version} /usr/X11R6/$LIB/libGL.so
357
	ln -sf libGL.so.1.${nvidia_version} /usr/X11R6/$LIB/libGL.so
358
	rm -f /usr/X11R6/$LIB/modules/extensions/libGLcore.a 
358
	mv /usr/X11R6/$LIB/modules/extensions/libGLcore.a /usr/X11R6/$LIB/modules/extensions/xxx.libGLcore.a.saved_by_nvidia
359
	rm -f /usr/X11R6/$LIB/modules/extensions/libglx.a
359
	mv /usr/X11R6/$LIB/modules/extensions/libglx.a /usr/X11R6/$LIB/modules/extensions/xxx.libglx.a.saved_by_nvidia
360
	ln -sf libglx.so.1.${nvidia_version} /usr/X11R6/$LIB/modules/extensions/libglx.so
360
	ln -sf libglx.so.1.${nvidia_version} /usr/X11R6/$LIB/modules/extensions/libglx.so
361
	# reconfigure X
361
	# reconfigure X
362
	/usr/sbin/nvidia-xconfig >> $NVLOG 2>&1
362
	/usr/sbin/nvidia-xconfig >> $NVLOG 2>&1
363
	if [ $PSI ]; then
363
	if [ $PSI ]; then
364
	    echo 'NVIDIA=on' >> /etc/sysconfig/cfengine
364
	    echo 'NVIDIA=on' >> /etc/sysconfig/cfengine