summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfigurator.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-10-02 15:11:34 +0000
committerFrancois Pons <fpons@mandriva.com>2001-10-02 15:11:34 +0000
commitae348860adadee3f400d1107fe01e9c40df6e507 (patch)
tree4f37601242d81cf2e84e2ed686570f2867f31372 /perl-install/Xconfigurator.pm
parentbe2312728d8d50e15aff07f0716e48cb1c14ea02 (diff)
downloaddrakx-ae348860adadee3f400d1107fe01e9c40df6e507.tar
drakx-ae348860adadee3f400d1107fe01e9c40df6e507.tar.gz
drakx-ae348860adadee3f400d1107fe01e9c40df6e507.tar.bz2
drakx-ae348860adadee3f400d1107fe01e9c40df6e507.tar.xz
drakx-ae348860adadee3f400d1107fe01e9c40df6e507.zip
added hack to do "/sbin/depmod -a" for NVIDIA driver.
Diffstat (limited to 'perl-install/Xconfigurator.pm')
-rw-r--r--perl-install/Xconfigurator.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/Xconfigurator.pm b/perl-install/Xconfigurator.pm
index 4b39c7454..b76adee17 100644
--- a/perl-install/Xconfigurator.pm
+++ b/perl-install/Xconfigurator.pm
@@ -418,6 +418,7 @@ 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';
+ run_program::rooted($prefix, "/sbin/depmod", "-a"); #- hack as NVIDIA_kernel package does not do it actually (8.1 OEM).
} else {
$card->{NVIDIA_glx} = '';
}