diff options
author | Mystery Man <unknown@mandriva.org> | 2001-10-08 11:57:18 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2001-10-08 11:57:18 +0000 |
commit | d2d128d01e5ca2d953a7d06e443df4714ac6d9cc (patch) | |
tree | 22da3bc47fddf82f9aca8544d007daf49ff75e41 /perl-install/Xconfigurator.pm | |
parent | 32f0790dec6eadc4b1cdd1c2ead2f84994d94467 (diff) | |
download | drakx-d2d128d01e5ca2d953a7d06e443df4714ac6d9cc.tar drakx-d2d128d01e5ca2d953a7d06e443df4714ac6d9cc.tar.gz drakx-d2d128d01e5ca2d953a7d06e443df4714ac6d9cc.tar.bz2 drakx-d2d128d01e5ca2d953a7d06e443df4714ac6d9cc.tar.xz drakx-d2d128d01e5ca2d953a7d06e443df4714ac6d9cc.zip |
This commit was manufactured by cvs2svn to create tag 'OEM8_1'.OEM8_1
Diffstat (limited to 'perl-install/Xconfigurator.pm')
-rw-r--r-- | perl-install/Xconfigurator.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm index 4b39c7454..8679800ab 100644 --- a/perl-install/Xconfigurator.pm +++ b/perl-install/Xconfigurator.pm @@ -418,6 +418,11 @@ NOTE THIS IS EXPERIMENTAL SUPPORT AND MAY FREEZE YOUR COMPUTER.", $xf3_ver)) . " -e "$prefix/usr/X11R6/lib/modules/extensions/libglx.so")) { log::l("Using specific NVIDIA driver and GLX extensions"); $card->{driver} = 'nvidia'; + foreach (@{$cardOptions->{allowNVIDIA_rpms}}) { #- hack as NVIDIA_kernel package does not do it actually (8.1 OEM). + if (/NVIDIA_kernel-([^\-]*)-([^\-]*)(?:-(.*))?/ && -e "$prefix/boot/System.map-$1-$2$3") { + run_program::rooted($prefix, "/sbin/depmod", "-a", "-F", "/boot/System.map-$1-$2$3", "$1-$2$3"); + } + } } else { $card->{NVIDIA_glx} = ''; } |