From 01ecaf5d636167ebbc8c17d085f3cfbddb2cadd7 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Thu, 28 Aug 2008 20:33:45 +0000 Subject: * 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 --- initramfs/OpenSLX/MakeInitRamFS/Distro/Ubuntu.pm | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'initramfs/OpenSLX/MakeInitRamFS/Distro/Ubuntu.pm') diff --git a/initramfs/OpenSLX/MakeInitRamFS/Distro/Ubuntu.pm b/initramfs/OpenSLX/MakeInitRamFS/Distro/Ubuntu.pm index 825d83c2..5c9c3da1 100644 --- a/initramfs/OpenSLX/MakeInitRamFS/Distro/Ubuntu.pm +++ b/initramfs/OpenSLX/MakeInitRamFS/Distro/Ubuntu.pm @@ -42,4 +42,16 @@ sub applyChanges return; } +sub determineMatchingHwinfoVersion +{ + my $self = shift; + my $distroVersion = shift; + + # TODO: fill this map (see Suse.pm for an example) + my %suseMap = ( + ); + return $suseMap{$distroVersion} + || $self->SUPER::determineMatchingHwinfoVersion($distroVersion); +} + 1; \ No newline at end of file -- cgit v1.2.3-55-g7522