summaryrefslogtreecommitdiffstats
path: root/initramfs/OpenSLX/MakeInitRamFS/Distro/Suse.pm
diff options
context:
space:
mode:
authorOliver Tappe2008-08-28 22:33:45 +0200
committerOliver Tappe2008-08-28 22:33:45 +0200
commit01ecaf5d636167ebbc8c17d085f3cfbddb2cadd7 (patch)
treeb0f9c229eb0e582557839f42607068447bd3c5db /initramfs/OpenSLX/MakeInitRamFS/Distro/Suse.pm
parentThe boot.slx was started too early in rcS/boot.d ... (diff)
downloadcore-01ecaf5d636167ebbc8c17d085f3cfbddb2cadd7.tar.gz
core-01ecaf5d636167ebbc8c17d085f3cfbddb2cadd7.tar.xz
core-01ecaf5d636167ebbc8c17d085f3cfbddb2cadd7.zip
* implemented supported for automatic selection of the matching hwinfo version
(in initramfs/OpenSLX/MakeInitRamFS/Engine and the respective Distro classes) * removed hwinfo binary and libhd incarnations from uclib-rootfs, as they are no longer needed (and could in fact get in the way) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2122 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/OpenSLX/MakeInitRamFS/Distro/Suse.pm')
-rw-r--r--initramfs/OpenSLX/MakeInitRamFS/Distro/Suse.pm14
1 files changed, 14 insertions, 0 deletions
diff --git a/initramfs/OpenSLX/MakeInitRamFS/Distro/Suse.pm b/initramfs/OpenSLX/MakeInitRamFS/Distro/Suse.pm
index a045fe47..daa37ab3 100644
--- a/initramfs/OpenSLX/MakeInitRamFS/Distro/Suse.pm
+++ b/initramfs/OpenSLX/MakeInitRamFS/Distro/Suse.pm
@@ -42,4 +42,18 @@ sub applyChanges
return;
}
+sub determineMatchingHwinfoVersion
+{
+ my $self = shift;
+ my $distroVersion = shift;
+
+ my %suseMap = (
+ '10.2' => '13.11',
+ '10.3' => '14.19',
+ '11.0' => '15.3',
+ );
+ return $suseMap{$distroVersion}
+ || $self->SUPER::determineMatchingHwinfoVersion($distroVersion);
+}
+
1; \ No newline at end of file