diff options
author | Sebastian | 2011-06-02 17:27:43 +0200 |
---|---|---|
committer | Sebastian | 2011-06-02 17:27:43 +0200 |
commit | 95da2c40e364b4d2dc68aed83d332c8eed6d2030 (patch) | |
tree | 0196e718f4981385c92da3da76f391cbe4a1c890 /src/boot-env/OpenSLX/MakeInitRamFS/Distro/LinuxMint.pm | |
parent | ... (diff) | |
download | core-95da2c40e364b4d2dc68aed83d332c8eed6d2030.tar.gz core-95da2c40e364b4d2dc68aed83d332c8eed6d2030.tar.xz core-95da2c40e364b4d2dc68aed83d332c8eed6d2030.zip |
rename distro versions
Diffstat (limited to 'src/boot-env/OpenSLX/MakeInitRamFS/Distro/LinuxMint.pm')
-rw-r--r-- | src/boot-env/OpenSLX/MakeInitRamFS/Distro/LinuxMint.pm | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/src/boot-env/OpenSLX/MakeInitRamFS/Distro/LinuxMint.pm b/src/boot-env/OpenSLX/MakeInitRamFS/Distro/LinuxMint.pm deleted file mode 100644 index b813c91b..00000000 --- a/src/boot-env/OpenSLX/MakeInitRamFS/Distro/LinuxMint.pm +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright (c) 2011 - OpenSLX GmbH -# -# This program is free software distributed under the GPL version 2. -# See http://openslx.org/COPYING -# -# If you have any feedback please consult http://openslx.org/feedback and -# send your suggestions, praise, or complaints to feedback@openslx.org -# -# General information about OpenSLX can be found at http://openslx.org/ -# ----------------------------------------------------------------------------- -# MakeInitRamFS::Distro::LinuxMint.pm -# - provides LinuxMint-specific overrides of the MakeInitRamFS::Distro API. -# ----------------------------------------------------------------------------- -package OpenSLX::MakeInitRamFS::Distro::LinuxMint; - -use strict; -use warnings; - -use base qw(OpenSLX::MakeInitRamFS::Distro::Base); - -use OpenSLX::Basics; - -################################################################################ -### implementation -################################################################################ -sub new -{ - my $class = shift; - my $self = { - 'base-name' => 'linuxmint', - }; - return bless $self, $class; -} - -# filter out modules not present (e.g. because compiled into the kernel) -sub applyChanges -{ - my $self = shift; - my $engine = shift; - - $engine->_addFilteredKernelModules( qw( unix hid-bright af_packet uhci-hcd ohci-hcd )); - - return; -} - -sub determineMatchingHwinfoVersion -{ - my $self = shift; - my $distroVersion = shift; - - # Please check, if correct - my %versionMap = ( - '10' => '16.0', - '11' => '16.0', - ); - return $versionMap{$distroVersion} - || $self->SUPER::determineMatchingHwinfoVersion($distroVersion); -} - -1; |