summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/theme/OpenSLX/OSPlugin/theme.pm
diff options
context:
space:
mode:
Diffstat (limited to 'os-plugins/plugins/theme/OpenSLX/OSPlugin/theme.pm')
-rw-r--r--os-plugins/plugins/theme/OpenSLX/OSPlugin/theme.pm17
1 files changed, 16 insertions, 1 deletions
diff --git a/os-plugins/plugins/theme/OpenSLX/OSPlugin/theme.pm b/os-plugins/plugins/theme/OpenSLX/OSPlugin/theme.pm
index a00cd8a2..c2897eec 100644
--- a/os-plugins/plugins/theme/OpenSLX/OSPlugin/theme.pm
+++ b/os-plugins/plugins/theme/OpenSLX/OSPlugin/theme.pm
@@ -133,6 +133,21 @@ sub suggestAdditionalKernelParams
return @suggestedParams;
}
+sub suggestAdditionalKernelModules
+{
+ my $self = shift;
+ my $makeInitRamFSEngine = shift;
+
+ my @suggestedModules;
+
+ # Ubuntu needs vesafb and fbcon (which drags along some others)
+ if ($makeInitRamFSEngine->{'distro-name'} =~ m{^ubuntu}i) {
+ push @suggestedModules, qw( vesafb fbcon )
+ }
+
+ return @suggestedModules;
+}
+
sub copyRequiredFilesIntoInitramfs
{
my $self = shift;
@@ -179,7 +194,7 @@ sub copyRequiredFilesIntoInitramfs
}
vlog(
- 0,
+ 1,
_tr(
"theme-plugin: bootsplash=%s displaymanager=%s",
$splashTheme, $displayManagerTheme