summaryrefslogtreecommitdiffstats
path: root/os-plugins/OpenSLX/OSPlugin
diff options
context:
space:
mode:
authorOliver Tappe2008-02-13 21:20:12 +0100
committerOliver Tappe2008-02-13 21:20:12 +0100
commiteeb91dbb63c9c3efceb4030ebcb514b92520550a (patch)
tree6b9ec24a9c7c852a02d9027eff36465cd92eb3ca /os-plugins/OpenSLX/OSPlugin
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 'os-plugins/OpenSLX/OSPlugin')
-rw-r--r--os-plugins/OpenSLX/OSPlugin/Base.pm29
1 files changed, 29 insertions, 0 deletions
diff --git a/os-plugins/OpenSLX/OSPlugin/Base.pm b/os-plugins/OpenSLX/OSPlugin/Base.pm
index 0f601704..51990912 100644
--- a/os-plugins/OpenSLX/OSPlugin/Base.pm
+++ b/os-plugins/OpenSLX/OSPlugin/Base.pm
@@ -39,6 +39,8 @@ sub initialize
# to installing stuff into the vendor-OS, like downloading functionality,
# access to meta-packager, ...
$self->{'os-plugin-engine'} = shift;
+
+ return;
}
sub getInfo
@@ -79,6 +81,8 @@ sub preInstallationPhase
# required by the corresponding stage3 runlevel script
my $pluginTempPath = shift;
# a temporary playground that will be cleaned up automatically
+
+ return;
}
sub installationPhase
@@ -89,6 +93,8 @@ sub installationPhase
# the repository folder, this time from inside the chroot
my $pluginTempPath = shift;
# the temporary folder, this time from inside the chroot
+
+ return;
}
sub postInstallationPhase
@@ -97,6 +103,8 @@ sub postInstallationPhase
my $self = shift;
my $pluginRepositoryPath = shift;
my $pluginTempPath = shift;
+
+ return;
}
sub preRemovalPhase
@@ -109,6 +117,8 @@ sub preRemovalPhase
# required by the corresponding stage3 runlevel script
my $pluginTempPath = shift;
# a temporary playground that will be cleaned up automatically
+
+ return;
}
sub removalPhase
@@ -119,6 +129,8 @@ sub removalPhase
# the repository folder, this time from inside the chroot
my $pluginTempPath = shift;
# the temporary folder, this time from inside the chroot
+
+ return;
}
sub postRemovalPhase
@@ -127,6 +139,8 @@ sub postRemovalPhase
my $self = shift;
my $pluginRepositoryPath = shift;
my $pluginTempPath = shift;
+
+ return;
}
sub suggestAdditionalKernelParams
@@ -137,6 +151,19 @@ sub suggestAdditionalKernelParams
# that it would like to see added.
my $self = shift;
my $kernelParams = shift;
+
+ return;
+}
+
+sub suggestAdditionalKernelModules
+{ # called by config-demuxer in order to give the plugin a chance to add
+ # any kernel modules it requires.
+ # In order to do so, the plugin should return the names of additional kernel
+ # modules that it would like to see added.
+ my $self = shift;
+ my $makeInitRamFSEngine = shift;
+
+ return;
}
sub copyRequiredFilesIntoInitramfs
@@ -149,4 +176,6 @@ sub copyRequiredFilesIntoInitramfs
my $targetPath = shift;
my $attrs = shift;
my $makeInitRamFSEngine = shift;
+
+ return;
}