diff options
author | Bastian Wissler | 2009-06-05 20:17:40 +0200 |
---|---|---|
committer | Bastian Wissler | 2009-06-05 20:17:40 +0200 |
commit | 6fb82427d4e3cb76e20700d8e0cfb609056ec2b9 (patch) | |
tree | c5bd7c32cd586e4ff482c27478d91d3906ea6c3f /os-plugins/OpenSLX/OSPlugin/Engine.pm | |
parent | Fixing #450: (diff) | |
download | core-6fb82427d4e3cb76e20700d8e0cfb609056ec2b9.tar.gz core-6fb82427d4e3cb76e20700d8e0cfb609056ec2b9.tar.xz core-6fb82427d4e3cb76e20700d8e0cfb609056ec2b9.zip |
Various changes to xserver plugin:
* added support for kernel version detection - yet from local function
* now falls back to ati package installation, if download fails
ATTENTION: If you have a recent Kernel Version in Suse-11.1, consider downgrading your Kernel to support fglrx-drivers from their RPM repository.
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2937 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/OpenSLX/OSPlugin/Engine.pm')
-rw-r--r-- | os-plugins/OpenSLX/OSPlugin/Engine.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/os-plugins/OpenSLX/OSPlugin/Engine.pm b/os-plugins/OpenSLX/OSPlugin/Engine.pm index eb402578..d1eb961d 100644 --- a/os-plugins/OpenSLX/OSPlugin/Engine.pm +++ b/os-plugins/OpenSLX/OSPlugin/Engine.pm @@ -669,9 +669,13 @@ sub _callChrootedFunctionForPlugin $hostPerlCorePath, $hostPerlCorePathInChroot, $! ); unshift @INC, '/mnt/host-perl'; + unshift @INC, "/mnt$openslxConfig{'base-path'}/lib"; 1 }, release => sub { + if ($INC[0] eq "/mnt$openslxConfig{'base-path'}/lib") { + shift @INC; + } if ($INC[0] eq '/mnt/host-perl') { shift @INC; } |