summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/xserver/OpenSLX/Distro/Ubuntu.pm
diff options
context:
space:
mode:
authorDirk von Suchodoletz2008-08-10 13:36:37 +0200
committerDirk von Suchodoletz2008-08-10 13:36:37 +0200
commit70751e69e798db509a385e17b15be20ca1b9a683 (patch)
treee50d293ef69cd0513e78500e05ca303114d8f3d1 /os-plugins/plugins/xserver/OpenSLX/Distro/Ubuntu.pm
parentUse the proper quotes (double quotes) here ... (diff)
downloadcore-70751e69e798db509a385e17b15be20ca1b9a683.tar.gz
core-70751e69e798db509a385e17b15be20ca1b9a683.tar.xz
core-70751e69e798db509a385e17b15be20ca1b9a683.zip
Extension to the xserver plugin (for later integration of the
non-gpl drivers stuff) ... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2012 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/xserver/OpenSLX/Distro/Ubuntu.pm')
-rw-r--r--os-plugins/plugins/xserver/OpenSLX/Distro/Ubuntu.pm43
1 files changed, 43 insertions, 0 deletions
diff --git a/os-plugins/plugins/xserver/OpenSLX/Distro/Ubuntu.pm b/os-plugins/plugins/xserver/OpenSLX/Distro/Ubuntu.pm
new file mode 100644
index 00000000..bf691b67
--- /dev/null
+++ b/os-plugins/plugins/xserver/OpenSLX/Distro/Ubuntu.pm
@@ -0,0 +1,43 @@
+# Copyright (c) 2008 - 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/Ubuntu.pm
+# - provides Ubuntu-specific overrides of the distro API for the xserver
+# plugin.
+# -----------------------------------------------------------------------------
+package xserver::OpenSLX::Distro::Ubuntu;
+
+use strict;
+use warnings;
+
+use base qw(xserver::OpenSLX::Distro::Base);
+
+use OpenSLX::Basics;
+use OpenSLX::Utils;
+
+################################################################################
+### interface methods
+################################################################################
+
+sub setupXserverScript
+{
+ my $self = shift;
+ my $repoPath = shift;
+
+ my $script = $self->SUPER::setupXserverScript($repoPath);
+
+ $script .= unshiftHereDoc(<<' End-of-Here');
+ # ubuntu specific extension to stage3 xserver.sh
+ End-of-Here
+
+ return $script;
+}
+
+1; \ No newline at end of file