diff options
author | Michael Janczyk | 2009-03-03 19:39:20 +0100 |
---|---|---|
committer | Michael Janczyk | 2009-03-03 19:39:20 +0100 |
commit | 1e59a6afe5d105e9280fe1bedebf8c45fab65a25 (patch) | |
tree | cfe08d7f6c2e2a5e6abb08a7462e51f2681dab0d /os-plugins/plugins/xserver/OpenSLX/OSPlugin | |
parent | changed calculation to kbyte since byte calculation out of range (e.g. if you... (diff) | |
download | core-1e59a6afe5d105e9280fe1bedebf8c45fab65a25.tar.gz core-1e59a6afe5d105e9280fe1bedebf8c45fab65a25.tar.xz core-1e59a6afe5d105e9280fe1bedebf8c45fab65a25.zip |
adding attr xserver::driver to override the driver of gfxcards
trunk because for testing purposes and dirk isnt to happy with this solution
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2663 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/xserver/OpenSLX/OSPlugin')
-rw-r--r-- | os-plugins/plugins/xserver/OpenSLX/OSPlugin/xserver.pm | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/os-plugins/plugins/xserver/OpenSLX/OSPlugin/xserver.pm b/os-plugins/plugins/xserver/OpenSLX/OSPlugin/xserver.pm index 26dfc395..2342f744 100644 --- a/os-plugins/plugins/xserver/OpenSLX/OSPlugin/xserver.pm +++ b/os-plugins/plugins/xserver/OpenSLX/OSPlugin/xserver.pm @@ -86,6 +86,16 @@ sub getAttrInfo content_descr => '0 ignore ddcinfo, 1 use ddcinfo if available', default => '0', }, + 'xserver::driver' => { + applies_to_systems => 1, + applies_to_clients => 1, + description => unshiftHereDoc(<<' End-of-Here'), + force to use defined driver + End-of-Here + content_regex => undef, + content_descr => 'force to use defined driver', + default => undef, + }, 'xserver::prefnongpl' => { applies_to_systems => 1, applies_to_clients => 1, @@ -94,7 +104,7 @@ sub getAttrInfo adaptors if available (0 prefer gpl, 1 use the nongpl) End-of-Here content_regex => qr{^(0|1)$}, - content_descr => '0 ignore ddcinfo, 1 use ddcinfo if available', + content_descr => '0 prefer gpl, 1 use the nongpl', default => '0', }, 'xserver::usexrandr' => { @@ -114,7 +124,7 @@ sub getAttrInfo # stage1 # Currently not needed in scenarios where distro specific packages are - # available, but in Suse-10.2 for example we use this method + # available, but for example in SUSE 10.2 we use this method # -> provide downloaded packages here. 'xserver::pkgpath' => { applies_to_vendor_os => 1, |