diff options
Diffstat (limited to 'os-plugins/plugins/bootsplash/OpenSLX/OSPlugin/bootsplash.pm')
-rw-r--r-- | os-plugins/plugins/bootsplash/OpenSLX/OSPlugin/bootsplash.pm | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/os-plugins/plugins/bootsplash/OpenSLX/OSPlugin/bootsplash.pm b/os-plugins/plugins/bootsplash/OpenSLX/OSPlugin/bootsplash.pm index ec58d132..ef1db778 100644 --- a/os-plugins/plugins/bootsplash/OpenSLX/OSPlugin/bootsplash.pm +++ b/os-plugins/plugins/bootsplash/OpenSLX/OSPlugin/bootsplash.pm @@ -122,8 +122,8 @@ sub installationPhase $self->{pluginRepositoryPath} = $info->{'plugin-repo-path'}; $self->{openslxBasePath} = $info->{'openslx-base-path'}; - my $splashyBinPath = - "$self->{openslxBasePath}/lib/plugins/bootsplash/files/bin"; + my $splashyPath = + "$self->{openslxBasePath}/lib/plugins/bootsplash/files"; my $pluginRepoPath = "$self->{pluginRepositoryPath}"; my $initFile = newInitFile(); @@ -158,11 +158,14 @@ sub installationPhase ); # copy splashy(_update) into plugin-repo folder - mkpath("$pluginRepoPath/bin"); + mkpath("$pluginRepoPath/sbin"); mkpath("$pluginRepoPath/lib"); - slxsystem("cp -a $splashyBinPath/* $pluginRepoPath/bin") == 0 + mkpath("$pluginRepoPath/usr/lib"); + slxsystem("cp -a $splashyPath/sbin/* $pluginRepoPath/sbin/; + cp -p $splashyPath/lib/* $pluginRepoPath/lib/; + cp -p $splashyPath/usr/lib/* $pluginRepoPath/usr/lib/") == 0 or die _tr( - "unable to copy splashy to $pluginRepoPath/bin" + "unable to copy splashy to $pluginRepoPath" ); # create a proper (distro specific) runlevel script for halt #my $initfile = newInitFile(); @@ -205,9 +208,11 @@ sub copyRequiredFilesIntoInitramfs $splashyThemeDir = "$altThemeDir"; } if (-d $splashyThemeDir) { - my $splashyPath = "$bootsplashDir/files/bin"; + my $splashyPath = "$bootsplashDir/files"; $makeInitRamFSEngine->addCMD( - "cp -p $splashyPath/splashy* $targetPath/bin/" + "cp -p $splashyPath/sbin/splashy* $targetPath/sbin/; + cp -p $splashyPath/lib/lib* $targetPath/lib/; + cp -p $splashyPath/usr/lib/lib* $targetPath/usr/lib/" ); $makeInitRamFSEngine->addCMD( "mkdir -p $targetPath/etc/splashy/themes" |