diff options
| author | Michael Janczyk | 2008-04-15 17:45:14 +0200 |
|---|---|---|
| committer | Michael Janczyk | 2008-04-15 17:45:14 +0200 |
| commit | a8138e6f68dac34fe2769cde4f9a7b8ccd734241 (patch) | |
| tree | a4469e212b08b2436d526eb5b93b0e07b4aac383 /os-plugins/plugins/theme/OpenSLX/OSPlugin/theme.pm | |
| parent | Vorlage_VMwareImageAdministrator.xml: added tags for printers, shared drives ... (diff) | |
| download | core-a8138e6f68dac34fe2769cde4f9a7b8ccd734241.tar.gz core-a8138e6f68dac34fe2769cde4f9a7b8ccd734241.tar.xz core-a8138e6f68dac34fe2769cde4f9a7b8ccd734241.zip | |
removed bootsplash stuff from theme plugin, because of conflicts with bootsplash. didn't remove it until now because one could use it instead of bootsplash and displaymanager plugin but bootsplash doesn't work anymore with the themem plugin. so it had to be removed so bootsplash can be installed.
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1745 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/theme/OpenSLX/OSPlugin/theme.pm')
| -rw-r--r-- | os-plugins/plugins/theme/OpenSLX/OSPlugin/theme.pm | 73 |
1 files changed, 3 insertions, 70 deletions
diff --git a/os-plugins/plugins/theme/OpenSLX/OSPlugin/theme.pm b/os-plugins/plugins/theme/OpenSLX/OSPlugin/theme.pm index 28cc943b..4487be87 100644 --- a/os-plugins/plugins/theme/OpenSLX/OSPlugin/theme.pm +++ b/os-plugins/plugins/theme/OpenSLX/OSPlugin/theme.pm @@ -42,9 +42,9 @@ sub getInfo return { description => unshiftHereDoc(<<' End-of-Here'), - Applies a graphical theme to the bootsplash and the displaymanager. + Applies a graphical theme to the displaymanager. End-of-Here - precedence => 30, + precedence => 40, }; } @@ -63,17 +63,6 @@ sub getAttrInfo content_descr => '1 means active - 0 means inactive', default => '1', }, - - 'theme::splash' => { - applies_to_systems => 1, - applies_to_clients => 0, - description => unshiftHereDoc(<<' End-of-Here'), - name of the theme to apply to bootsplash (unset for no theme) - End-of-Here - content_regex => undef, - content_descr => undef, - default => 'openslx', - }, 'theme::displaymanager' => { applies_to_systems => 1, applies_to_clients => 0, @@ -97,41 +86,6 @@ sub getAttrInfo }; } -sub suggestAdditionalKernelParams -{ - my $self = shift; - my $makeInitRamFSEngine = shift; - - my @suggestedParams; - - # add vga=0x317 unless explicit vga-mode is already set - if (!$makeInitRamFSEngine->haveKernelParam(qr{\bvga=})) { - push @suggestedParams, 'vga=0x317'; - } - - # add quiet, if not already set - if (!$makeInitRamFSEngine->haveKernelParam('quiet')) { - push @suggestedParams, 'quiet'; - } - - 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; @@ -140,25 +94,6 @@ sub copyRequiredFilesIntoInitramfs my $makeInitRamFSEngine = shift; my $themeDir = "$openslxConfig{'base-path'}/share/themes"; - my $splashTheme = $attrs->{'theme::splash'} || ''; - if ($splashTheme) { - my $splashThemeDir = "$themeDir/$splashTheme/bootsplash"; - if (-d $splashThemeDir) { - my $splashyPath = "$openslxConfig{'base-path'}/share/splashy"; - $makeInitRamFSEngine->addCMD( - "cp -p $splashyPath/* $targetPath/bin/" - ); - $makeInitRamFSEngine->addCMD( - "mkdir -p $targetPath/etc/splashy" - ); - $makeInitRamFSEngine->addCMD( - "cp -a $splashThemeDir/* $targetPath/etc/splashy/" - ); - } - } - else { - $splashTheme = '<none>'; - } my $displayManagerTheme = $attrs->{'theme::displaymanager'} || ''; if ($displayManagerTheme) { @@ -180,9 +115,7 @@ sub copyRequiredFilesIntoInitramfs vlog( 1, _tr( - "theme-plugin: bootsplash=%s displaymanager=%s", - $splashTheme, $displayManagerTheme - ) + "theme-plugin: displaymanager=%s", $displayManagerTheme) ); return; |
