summaryrefslogtreecommitdiffstats
path: root/os-plugins/plugins/bootsplash/OpenSLX/OSPlugin/bootsplash.pm
diff options
context:
space:
mode:
authorMichael Janczyk2010-08-22 23:03:48 +0200
committerMichael Janczyk2010-08-22 23:03:48 +0200
commit19ec30d3e2e52d87ddde96c8ee9b99224aaa8586 (patch)
tree46eaf198e882d473fe1f3a7d424ade08b4935de1 /os-plugins/plugins/bootsplash/OpenSLX/OSPlugin/bootsplash.pm
parentMerge branch 'master' of openslx.org:openslx/core (diff)
downloadcore-19ec30d3e2e52d87ddde96c8ee9b99224aaa8586.tar.gz
core-19ec30d3e2e52d87ddde96c8ee9b99224aaa8586.tar.xz
core-19ec30d3e2e52d87ddde96c8ee9b99224aaa8586.zip
changed to 50% ram for vbox and vmware
Diffstat (limited to 'os-plugins/plugins/bootsplash/OpenSLX/OSPlugin/bootsplash.pm')
-rw-r--r--os-plugins/plugins/bootsplash/OpenSLX/OSPlugin/bootsplash.pm19
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"