diff options
author | Dirk von Suchodoletz | 2010-02-17 23:15:33 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2010-02-17 23:15:33 +0100 |
commit | 74b4cedc02259b76e83645c10f9086cd96a8af97 (patch) | |
tree | e18e2046f0df9906294eb40084d522383fba7476 /os-plugins/plugins/xserver/OpenSLX/Distro | |
parent | SuSE 11.2 functions file ... (diff) | |
download | core-74b4cedc02259b76e83645c10f9086cd96a8af97.tar.gz core-74b4cedc02259b76e83645c10f9086cd96a8af97.tar.xz core-74b4cedc02259b76e83645c10f9086cd96a8af97.zip |
Xserver, qemukvm plugin stuff ...
Diffstat (limited to 'os-plugins/plugins/xserver/OpenSLX/Distro')
-rw-r--r-- | os-plugins/plugins/xserver/OpenSLX/Distro/Suse.pm | 1 | ||||
-rw-r--r-- | os-plugins/plugins/xserver/OpenSLX/Distro/Suse_11_2.pm | 53 |
2 files changed, 53 insertions, 1 deletions
diff --git a/os-plugins/plugins/xserver/OpenSLX/Distro/Suse.pm b/os-plugins/plugins/xserver/OpenSLX/Distro/Suse.pm index 4cb7804b..61372d54 100644 --- a/os-plugins/plugins/xserver/OpenSLX/Distro/Suse.pm +++ b/os-plugins/plugins/xserver/OpenSLX/Distro/Suse.pm @@ -356,7 +356,6 @@ sub installAtiOldStyle } rmtree("$repopath/ati/temp"); - } 1; diff --git a/os-plugins/plugins/xserver/OpenSLX/Distro/Suse_11_2.pm b/os-plugins/plugins/xserver/OpenSLX/Distro/Suse_11_2.pm new file mode 100644 index 00000000..ee78c40e --- /dev/null +++ b/os-plugins/plugins/xserver/OpenSLX/Distro/Suse_11_2.pm @@ -0,0 +1,53 @@ +# Copyright (c) 2010 - OpenSLX GmbH +# +# This program is free software distributed under the GPL version 2. +# See http://openslx.org/COPYING +# +# If you have any feedback please consult http://openslx.org/feedback and +# send your suggestions, praise, or complaints to feedback@openslx.org +# +# General information about OpenSLX can be found at http://openslx.org/ +# ----------------------------------------------------------------------------- +# xserver/OpenSLX/Distro/Suse.pm +# - provides SUSE-specific overrides of the Distro API for the xserver +# plugin. +# ----------------------------------------------------------------------------- +package xserver::OpenSLX::Distro::Suse; + +use strict; +use warnings; + +use base qw(xserver::OpenSLX::Distro::Base); + +use File::Path; + +use OpenSLX::Basics; +use OpenSLX::Utils; +use OpenSLX::DistroUtils; + +use Data::Dumper; + +################################################################################ +### interface methods +################################################################################ + +sub setupXserverScript +{ + my $self = shift; + my $repoPath = shift; + + my $script = $self->SUPER::setupXserverScript($repoPath); + + $script .= unshiftHereDoc(<<' End-of-Here'); + # SuSE specific extension to stage3 xserver.sh + testmkd /mnt/var/lib/xkb/compiled + testmkd /mnt/var/lib/X11 + testmkd /mnt/var/lib/xdm/authdir/authfiles 0700 + ln -s /usr/bin/Xorg /mnt/var/lib/X11/X + rm /mnt/etc/X11/xdm/SuSEconfig.xdm + End-of-Here + + return $script; +} + +1; |