diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-11-25 09:34:11 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-11-25 09:34:11 +0000 |
commit | c74f8c59e8f07921f4682faa1c64c9018b3b0a51 (patch) | |
tree | bdb645e878761d42f9d799f7bdfc175347033f07 /move/move.pm | |
parent | 34a425dcd002602d1f82ca540d498a3f940d1bdb (diff) | |
download | drakx-c74f8c59e8f07921f4682faa1c64c9018b3b0a51.tar drakx-c74f8c59e8f07921f4682faa1c64c9018b3b0a51.tar.gz drakx-c74f8c59e8f07921f4682faa1c64c9018b3b0a51.tar.bz2 drakx-c74f8c59e8f07921f4682faa1c64c9018b3b0a51.tar.xz drakx-c74f8c59e8f07921f4682faa1c64c9018b3b0a51.zip |
- handle nvidia.clp
- handle X proprietary drivers
Diffstat (limited to 'move/move.pm')
-rw-r--r-- | move/move.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/move/move.pm b/move/move.pm index 1516d8798..f60fed41e 100644 --- a/move/move.pm +++ b/move/move.pm @@ -530,9 +530,13 @@ sub automatic_xconf { my $card = Xconfig::card::from_raw_X($o->{raw_X}); } - if (cat_('/etc/X11/XF86Config-4') =~ /Driver\s*"nvidia"/) { + my ($Driver) = cat_('/etc/X11/XF86Config-4') =~ /Section "Device".*Driver\s*"(.*?)"/s; + if ($Driver eq 'nvidia') { modules::load('nvidia'); + lomount_clp('nvidia', '/usr/lib/libGLcore.so.1'); } + my $lib = 'libGL.so.1'; + symlinkf("/usr/lib/$lib.$Driver", "/etc/X11/$lib") if -e "/usr/lib/$lib.$Driver"; } |