diff options
author | Oliver Tappe | 2007-08-03 21:57:52 +0200 |
---|---|---|
committer | Oliver Tappe | 2007-08-03 21:57:52 +0200 |
commit | 061c50264ce019265fef3933d53a42a923847bd8 (patch) | |
tree | 843c80919efacf953ed751bcf4185c5e213acb3c /installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm | |
parent | Started on the cdboot/init and fixed a setting in mkdxsinitrd. (diff) | |
download | core-061c50264ce019265fef3933d53a42a923847bd8.tar.gz core-061c50264ce019265fef3933d53a42a923847bd8.tar.xz core-061c50264ce019265fef3933d53a42a923847bd8.zip |
* finished support for installation of Debian & Ubuntu. Things seem to be
working more or less fine now. Some systems I have tested do not boot
into the graphical environment automatically, but that may be a problem
in stage3 (as manually invoking gdm works).
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1313 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.pm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm b/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm index 6fd4c74e..59e18820 100644 --- a/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm +++ b/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm @@ -19,6 +19,7 @@ use warnings; use base qw(OpenSLX::OSSetup::Distro::Debian); use OpenSLX::Basics; +use OpenSLX::Utils; ################################################################################ ### implementation @@ -64,9 +65,43 @@ sub initDistroInfo kernel-image-2.6-386 locales ", + + 'gnome' => " + <<<default>>> + gnome + ", + + 'kde' => " + <<<default>>> + kde + ", + }; return; } +sub preSystemInstallationHook +{ + my $self = shift; + + $self->SUPER::preSystemInstallationHook(); + + # replace /usr/sbin/mkinitrd with a dummy, in order to skip the hopeless + # pass at trying to create an initrd. It doesn't work and we don't need + # it either. + 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; + + # restore /usr/sbin/mkinitrd + rename('/usr/sbin/_mkinitrd', '/usr/sbin/mkinitrd'); + $self->SUPER::postSystemInstallationHook(); +} + 1;
\ No newline at end of file |