diff options
Diffstat (limited to 'installer/OpenSLX/OSExport/Distro/Suse.pm')
-rw-r--r-- | installer/OpenSLX/OSExport/Distro/Suse.pm | 19 |
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; |