From 803f61ccd2fce4b16f0dd8fb8394883fa58dfcdc Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sun, 29 Jul 2007 22:23:55 +0000 Subject: * more work towards Debian & Ubuntu support, Debian-4.0, Ubuntu-6.10 & Ubuntu-7.04 seem to be working ok, now. Only Debian-3.1 refuses to install any kernel, tsk! git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1283 95ad53e4-c205-0410-b2fa-d234c58c8868 --- installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm | 4 +- installer/OpenSLX/OSSetup/Distro/Debian_4_0.pm | 6 +- installer/OpenSLX/OSSetup/Distro/Ubuntu_6_10.pm | 6 +- installer/OpenSLX/OSSetup/Distro/Ubuntu_7_04.pm | 103 ++++++++++++++++++++++++ 4 files changed, 111 insertions(+), 8 deletions(-) create mode 100644 installer/OpenSLX/OSSetup/Distro/Ubuntu_7_04.pm (limited to 'installer/OpenSLX/OSSetup/Distro') diff --git a/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm b/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm index 22c35917..6fd4c74e 100644 --- a/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm +++ b/installer/OpenSLX/OSSetup/Distro/Debian_3_1.pm @@ -53,7 +53,7 @@ sub initDistroInfo $self->{config}->{'package-subdir'} = 'pool'; $self->{config}->{'prereq-packages'} = " - main/d/debootstrap/debootstrap_1.0.0_all.deb + main/d/debootstrap/debootstrap_0.3.3.2_all.deb "; $self->{config}->{'bootstrap-packages'} = " @@ -62,7 +62,7 @@ sub initDistroInfo $self->{config}->{'selection'} = { 'default' => " kernel-image-2.6-386 - kmail + locales ", }; diff --git a/installer/OpenSLX/OSSetup/Distro/Debian_4_0.pm b/installer/OpenSLX/OSSetup/Distro/Debian_4_0.pm index df0d81e0..766235bb 100644 --- a/installer/OpenSLX/OSSetup/Distro/Debian_4_0.pm +++ b/installer/OpenSLX/OSSetup/Distro/Debian_4_0.pm @@ -53,7 +53,7 @@ sub initDistroInfo $self->{config}->{'package-subdir'} = 'pool'; $self->{config}->{'prereq-packages'} = " - main/d/debootstrap/debootstrap_1.0.0_all.deb + main/d/debootstrap/debootstrap_0.3.3.2etch1_all.deb "; $self->{config}->{'bootstrap-packages'} = " @@ -61,8 +61,8 @@ sub initDistroInfo $self->{config}->{'selection'} = { 'default' => " - kernel-image-2.6-386 - kmail + linux-image-486 + locales-all ", }; diff --git a/installer/OpenSLX/OSSetup/Distro/Ubuntu_6_10.pm b/installer/OpenSLX/OSSetup/Distro/Ubuntu_6_10.pm index d2ce3bd6..636d5bfa 100644 --- a/installer/OpenSLX/OSSetup/Distro/Ubuntu_6_10.pm +++ b/installer/OpenSLX/OSSetup/Distro/Ubuntu_6_10.pm @@ -70,7 +70,7 @@ sub initDistroInfo $self->{config}->{'package-subdir'} = 'pool'; $self->{config}->{'prereq-packages'} = " - main/d/debootstrap/debootstrap_1.0.0_all.deb + main/d/debootstrap/debootstrap_0.3.3.3ubuntu3~edgy1_all.deb "; $self->{config}->{'bootstrap-packages'} = " @@ -78,8 +78,8 @@ sub initDistroInfo $self->{config}->{'selection'} = { 'default' => " - kernel-image-2.6-386 - kmail + language-pack-de + linux-image-generic ", }; return; diff --git a/installer/OpenSLX/OSSetup/Distro/Ubuntu_7_04.pm b/installer/OpenSLX/OSSetup/Distro/Ubuntu_7_04.pm new file mode 100644 index 00000000..306481f2 --- /dev/null +++ b/installer/OpenSLX/OSSetup/Distro/Ubuntu_7_04.pm @@ -0,0 +1,103 @@ +# Copyright (c) 2006, 2007 - 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/ +# ----------------------------------------------------------------------------- +# Ubuntu_7_04.pm +# - provides Ubuntu-7.04-specific overrides of the OpenSLX OSSetup API. +# ----------------------------------------------------------------------------- +package OpenSLX::OSSetup::Distro::Ubuntu_7_04; + +use strict; +use warnings; + +use base qw(OpenSLX::OSSetup::Distro::Ubuntu); + +use OpenSLX::Basics; + +################################################################################ +### implementation +################################################################################ +sub new +{ + my $class = shift; + my $self = { + 'base-name' => 'ubuntu-7.04', + 'arch' => 'i386', + 'release-name' => 'feisty', + }; + return bless $self, $class; +} + +sub initDistroInfo +{ + my $self = shift; + $self->{config}->{'repository'} = { + 'base' => { + 'urls' => " + http://ubuntu.intergenia.de/ubuntu + ", + 'name' => 'Ubuntu 7.04', + 'repo-subdir' => 'dists', + 'distribution' => 'feisty', + 'components' => 'main restricted', + }, + 'base_updates' => { + 'urls' => " + ftp://localhost/pub/ubuntu + ", + 'name' => 'Ubuntu 7.04 Updates', + 'repo-subdir' => 'dists', + 'distribution' => 'feisty-updates', + 'components' => 'main restricted', + }, + 'base_security' => { + 'urls' => " + ftp://localhost/pub/ubuntu + ", + 'name' => 'Ubuntu 7.04 Security', + 'repo-subdir' => 'dists', + 'distribution' => 'feisty-security', + 'components' => 'main restricted', + }, + }; + + $self->{config}->{'package-subdir'} = 'pool'; + + $self->{config}->{'prereq-packages'} = " + main/d/debootstrap/debootstrap_0.3.3.3ubuntu3~feisty1_all.deb + "; + + $self->{config}->{'bootstrap-packages'} = " + "; + + $self->{config}->{'selection'} = { + 'default' => " + language-pack-de + linux-image-generic + ", + + 'gnome' => " + <<>> + ubuntu-desktop + ", + + 'kde' => " + <<>> + kubuntu-desktop + ", + + 'xfce' => " + <<>> + xubuntu-desktop + ", + }; + return; +} + +1; \ No newline at end of file -- cgit v1.2.3-55-g7522