summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX/OSExport/Distro/Suse.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/Suse.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/Suse.pm')
-rw-r--r--installer/OpenSLX/OSExport/Distro/Suse.pm19
1 files changed, 19 insertions, 0 deletions
diff --git a/installer/OpenSLX/OSExport/Distro/Suse.pm b/installer/OpenSLX/OSExport/Distro/Suse.pm
index 586cf51a..9e62e6e5 100644
--- a/installer/OpenSLX/OSExport/Distro/Suse.pm
+++ b/installer/OpenSLX/OSExport/Distro/Suse.pm
@@ -123,4 +123,23 @@ sub initDistroInfo
return;
}
+
+sub getSquashfsVersion
+{
+ my $self = shift;
+ my $distroVersion = shift;
+
+ my %versionMap = (
+ '11.0' => '3.2',
+ '11.1' => '3.2',
+ '11.2' => '3.3',
+ '11.3' => '4.0'
+ );
+
+ my $distroDefault = '4.0';
+
+ return $versionMap{$distroVersion} || $distroDefault;
+}
+
+
1;