summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm
diff options
context:
space:
mode:
authorOliver Tappe2008-03-20 01:04:16 +0100
committerOliver Tappe2008-03-20 01:04:16 +0100
commita0ce0340d0f95514008cfac751fe58748bbadd88 (patch)
tree844bb9e015f2fbcd83de54c3a63dd027b1218211 /installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm
parent* fixed several bugs with respect to the listing of plugins (as part of a system (diff)
downloadcore-a0ce0340d0f95514008cfac751fe58748bbadd88.tar.gz
core-a0ce0340d0f95514008cfac751fe58748bbadd88.tar.xz
core-a0ce0340d0f95514008cfac751fe58748bbadd88.zip
* Switched indent used in Perl-code and settings files from tabs to 4 spaces.
May need some manual corrections here and there, but should basically be ok. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1658 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm')
-rw-r--r--installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm40
1 files changed, 20 insertions, 20 deletions
diff --git a/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm b/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm
index 87c14534..7f390bc1 100644
--- a/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm
+++ b/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm
@@ -9,7 +9,7 @@
# General information about OpenSLX can be found at http://openslx.org/
# -----------------------------------------------------------------------------
# Debian_3_1.pm
-# - provides Debian-3.1-specific overrides of the OpenSLX OSSetup API.
+# - provides Debian-3.1-specific overrides of the OpenSLX OSSetup API.
# -----------------------------------------------------------------------------
package OpenSLX::OSSetup::Distro::Debian_3_1;
@@ -26,30 +26,30 @@ use OpenSLX::Utils;
################################################################################
sub preSystemInstallationHook
{
- my $self = shift;
-
- $self->SUPER::preSystemInstallationHook();
-
- # when the kernel package is being configured, it insists on trying to
- # create an initrd, which neither works nor makes sense in our environment.
- #
- # in order to circumvent this problem, we manually install initrd-tools
- # (which contains mkinitrd) ...
- $self->{engine}->{'meta-packager'}->installPackages('initrd-tools');
- # ... and replace /usr/sbin/mkinitrd with a dummy, in order to skip the
- # initrd-creation.
- rename('/usr/sbin/mkinitrd', '/usr/sbin/_mkinitrd');
- spitFile('/usr/sbin/mkinitrd', "#! /bin/sh\ntouch \$2\n");
- chmod 0755, '/usr/sbin/mkinitrd';
+ my $self = shift;
+
+ $self->SUPER::preSystemInstallationHook();
+
+ # when the kernel package is being configured, it insists on trying to
+ # create an initrd, which neither works nor makes sense in our environment.
+ #
+ # in order to circumvent this problem, we manually install initrd-tools
+ # (which contains mkinitrd) ...
+ $self->{engine}->{'meta-packager'}->installPackages('initrd-tools');
+ # ... and replace /usr/sbin/mkinitrd with a dummy, in order to skip the
+ # initrd-creation.
+ rename('/usr/sbin/mkinitrd', '/usr/sbin/_mkinitrd');
+ spitFile('/usr/sbin/mkinitrd', "#! /bin/sh\ntouch \$2\n");
+ chmod 0755, '/usr/sbin/mkinitrd';
}
sub postSystemInstallationHook
{
- my $self = shift;
+ my $self = shift;
- # restore /usr/sbin/mkinitrd
- rename('/usr/sbin/_mkinitrd', '/usr/sbin/mkinitrd');
- $self->SUPER::postSystemInstallationHook();
+ # restore /usr/sbin/mkinitrd
+ rename('/usr/sbin/_mkinitrd', '/usr/sbin/mkinitrd');
+ $self->SUPER::postSystemInstallationHook();
}
1; \ No newline at end of file