diff options
author | Oliver Tappe | 2008-08-28 22:33:45 +0200 |
---|---|---|
committer | Oliver Tappe | 2008-08-28 22:33:45 +0200 |
commit | 01ecaf5d636167ebbc8c17d085f3cfbddb2cadd7 (patch) | |
tree | b0f9c229eb0e582557839f42607068447bd3c5db /initramfs/OpenSLX/MakeInitRamFS/Distro/Ubuntu.pm | |
parent | The boot.slx was started too early in rcS/boot.d ... (diff) | |
download | core-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/Ubuntu.pm')
-rw-r--r-- | initramfs/OpenSLX/MakeInitRamFS/Distro/Ubuntu.pm | 12 |
1 files changed, 12 insertions, 0 deletions
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 |