From eeb91dbb63c9c3efceb4030ebcb514b92520550a Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Wed, 13 Feb 2008 20:20:12 +0000 Subject: * added support for letting plugins suggest additional kernel modules * used this new functionality in the theme and vmware plugins to suggest the kernel modules they need (this should fix showing the console in ubuntu) * added distro-specific kernel module filtering, such that there no longer are the spurious warnings about 'hid', 'unix' and/or 'af_packet' not being found git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1540 95ad53e4-c205-0410-b2fa-d234c58c8868 --- initramfs/OpenSLX/MakeInitRamFS/Distro/Ubuntu.pm | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (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 25d0b6f7..121ad030 100644 --- a/initramfs/OpenSLX/MakeInitRamFS/Distro/Ubuntu.pm +++ b/initramfs/OpenSLX/MakeInitRamFS/Distro/Ubuntu.pm @@ -8,15 +8,15 @@ # # General information about OpenSLX can be found at http://openslx.org/ # ----------------------------------------------------------------------------- -# MakeInitRamFS::Ubuntu.pm -# - provides Ubuntu-specific overrides of the OpenSLX MakeInitRamFS API. +# MakeInitRamFS::Distro::Ubuntu.pm +# - provides Ubuntu-specific overrides of the MakeInitRamFS::Distro API. # ----------------------------------------------------------------------------- package OpenSLX::MakeInitRamFS::Distro::Ubuntu; use strict; use warnings; -use base qw(OpenSLX::MakeInitRamFS::Distro::Debian); +use base qw(OpenSLX::MakeInitRamFS::Distro::Base); use OpenSLX::Basics; @@ -32,4 +32,16 @@ sub new return bless $self, $class; } +sub applyChanges +{ + my $self = shift; + my $engine = shift; + + $engine->_addFilteredKernelModules( qw( unix )); + + $engine->_addRequiredLib('/lib/libnss_compat.so.2'); + + return; +} + 1; \ No newline at end of file -- cgit v1.2.3-55-g7522