summaryrefslogtreecommitdiffstats
path: root/initramfs/OpenSLX/MakeInitRamFS/Distro/Ubuntu.pm
diff options
context:
space:
mode:
authorOliver Tappe2008-02-13 21:20:12 +0100
committerOliver Tappe2008-02-13 21:20:12 +0100
commiteeb91dbb63c9c3efceb4030ebcb514b92520550a (patch)
tree6b9ec24a9c7c852a02d9027eff36465cd92eb3ca /initramfs/OpenSLX/MakeInitRamFS/Distro/Ubuntu.pm
parent* hopefully finally fixed the utf8-related character problems in --man (diff)
downloadcore-eeb91dbb63c9c3efceb4030ebcb514b92520550a.tar.gz
core-eeb91dbb63c9c3efceb4030ebcb514b92520550a.tar.xz
core-eeb91dbb63c9c3efceb4030ebcb514b92520550a.zip
* 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
Diffstat (limited to 'initramfs/OpenSLX/MakeInitRamFS/Distro/Ubuntu.pm')
-rw-r--r--initramfs/OpenSLX/MakeInitRamFS/Distro/Ubuntu.pm18
1 files changed, 15 insertions, 3 deletions
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