summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX/OSExport/Distro/Ubuntu.pm
diff options
context:
space:
mode:
authorSebastian2010-08-24 22:35:52 +0200
committerSebastian2010-08-24 22:35:52 +0200
commit55d4f64e83f92236669670b24615410b46d0a376 (patch)
tree236956ab301dff3ddae0b08ce9c2537ad1a8daa9 /installer/OpenSLX/OSExport/Distro/Ubuntu.pm
parentMerge branch 'master' of openslx.org:openslx/core (diff)
downloadcore-55d4f64e83f92236669670b24615410b46d0a376.tar.gz
core-55d4f64e83f92236669670b24615410b46d0a376.tar.xz
core-55d4f64e83f92236669670b24615410b46d0a376.zip
squashfs export updated.. see #435
Diffstat (limited to 'installer/OpenSLX/OSExport/Distro/Ubuntu.pm')
-rw-r--r--installer/OpenSLX/OSExport/Distro/Ubuntu.pm20
1 files changed, 20 insertions, 0 deletions
diff --git a/installer/OpenSLX/OSExport/Distro/Ubuntu.pm b/installer/OpenSLX/OSExport/Distro/Ubuntu.pm
index a1e477d5..3826f019 100644
--- a/installer/OpenSLX/OSExport/Distro/Ubuntu.pm
+++ b/installer/OpenSLX/OSExport/Distro/Ubuntu.pm
@@ -85,4 +85,24 @@ sub initDistroInfo
return;
}
+
+sub getSquashfsVersion
+{
+ my $self = shift;
+ my $distroVersion = shift;
+
+ my %versionMap = (
+ '8.04' => '3.3',
+ '8.10' => '3.3',
+ '9.04' => '3.3',
+ '9.10' => '4.0',
+ '10.04' => '4.0'
+ );
+
+ my $distroDefault = '4.0';
+
+ return $versionMap{$distroVersion} || $distroDefault;
+}
+
+
1;