diff options
author | Oliver Tappe | 2008-02-10 18:22:23 +0100 |
---|---|---|
committer | Oliver Tappe | 2008-02-10 18:22:23 +0100 |
commit | ef8c212ad80bc3a01dbe6aa1400b07ccae244c64 (patch) | |
tree | 38494e15b6c947daf390bb02873b82a731b0a1fb /initramfs | |
parent | * filled README.de with content (meant as a suggestion only, open for discuss... (diff) | |
download | core-ef8c212ad80bc3a01dbe6aa1400b07ccae244c64.tar.gz core-ef8c212ad80bc3a01dbe6aa1400b07ccae244c64.tar.xz core-ef8c212ad80bc3a01dbe6aa1400b07ccae244c64.zip |
* implement support for letting the plugins suggest additional kernel_params
* the theme plugin now suggests the use of the kernel-params 'vga=0x317' and
'quiet' unless they have already been set [these values should be moved
into the DB later, such that the user can change them (i.e. to set a
different resolution via vga=...)].
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1532 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs')
-rw-r--r-- | initramfs/OpenSLX/MakeInitRamFS/Engine.pm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/initramfs/OpenSLX/MakeInitRamFS/Engine.pm b/initramfs/OpenSLX/MakeInitRamFS/Engine.pm index efbcb585..cbd5ff5a 100644 --- a/initramfs/OpenSLX/MakeInitRamFS/Engine.pm +++ b/initramfs/OpenSLX/MakeInitRamFS/Engine.pm @@ -687,6 +687,13 @@ sub _handlePlugins } my $plugin = OpenSLX::OSPlugin::Roster->getPlugin($pluginName); next if !$plugin; + my @suggestedKernelParams + = $plugin->suggestAdditionalKernelParams($self->{'kernel-params'}); + if (@suggestedKernelParams) { + $self->{'kernel-params'} + .= ($self->{'kernel-params'} ? ' ' : '') + . join ' ', @suggestedKernelParams; + } $plugin->copyRequiredFilesIntoInitramfs( $self->{'build-path'}, $self->{attrs}, $self ); |