summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot2010-04-28 20:53:45 +0200
committerroot2010-04-28 20:53:45 +0200
commit536f8326396ee2ab11577b15069100cf73124e7f (patch)
treee1163e82ace1ac3a165018b5819c0531088295dd
parentMerge branch 'master' of git@openslx.org:openslx/core (diff)
downloadcore-536f8326396ee2ab11577b15069100cf73124e7f.tar.gz
core-536f8326396ee2ab11577b15069100cf73124e7f.tar.xz
core-536f8326396ee2ab11577b15069100cf73124e7f.zip
minor fixes
-rw-r--r--initramfs/distro-specs/ubuntu/functions-default2
-rw-r--r--os-plugins/plugins/profile/OpenSLX/Distro/Ubuntu_10.pm66
2 files changed, 67 insertions, 1 deletions
diff --git a/initramfs/distro-specs/ubuntu/functions-default b/initramfs/distro-specs/ubuntu/functions-default
index bfd01524..41af807e 100644
--- a/initramfs/distro-specs/ubuntu/functions-default
+++ b/initramfs/distro-specs/ubuntu/functions-default
@@ -97,7 +97,7 @@ elif [ -e /mnt/etc/init.d/${script} -a -n "$1" -a -n "$2" ] ; then
[ "$DEBUGLEVEL" == 5 ] && echo "Linked $script"
done
else
- error echo "Target $(pwd)../${script} does not exist. Skipping links."
+ error "Target $(pwd)../${script} does not exist. Skipping links." nonfatal
fi
}
diff --git a/os-plugins/plugins/profile/OpenSLX/Distro/Ubuntu_10.pm b/os-plugins/plugins/profile/OpenSLX/Distro/Ubuntu_10.pm
new file mode 100644
index 00000000..3b288e97
--- /dev/null
+++ b/os-plugins/plugins/profile/OpenSLX/Distro/Ubuntu_10.pm
@@ -0,0 +1,66 @@
+# Copyright (c) 2009 - 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/
+# -----------------------------------------------------------------------------
+# profile/OpenSLX/Distro/Ubuntu.pm
+# - provides Debian-specific overrides of the Distro API for the profile
+# plugin.
+# -----------------------------------------------------------------------------
+package profile::OpenSLX::Distro::Ubuntu_10;
+
+use strict;
+use warnings;
+
+use base qw(profile::OpenSLX::Distro::Base);
+
+use OpenSLX::Basics;
+use OpenSLX::Utils;
+
+################################################################################
+### interface methods
+################################################################################
+
+sub _getKdeHomeMap
+{
+ my $self = shift;
+
+ return;
+}
+
+sub getProfileDPAth
+{
+ my $self = shift;
+
+
+ return "/etc/profile.d/slx-kdehome.sh";
+}
+
+sub getKdeHome
+{
+ my $self = shift;
+
+ return ".openslx/ubuntu-lucid.kde";
+}
+
+sub getGconfPathConfig
+{
+ my $self = shift;
+
+ return "/etc/gconf/2/path";
+}
+
+
+sub getGconfHome
+{
+ my $self = shift;
+
+ return ".openslx.ubuntu-lucid.gconf";
+}
+
+1;