diff options
author | Michael Janczyk | 2008-08-25 19:53:20 +0200 |
---|---|---|
committer | Michael Janczyk | 2008-08-25 19:53:20 +0200 |
commit | 622eaa5e261d28b41c354186eb49726af1df93c9 (patch) | |
tree | 86e0a7f2ed7f33ed9943723fac0334c87e2aca45 /os-plugins/plugins/bootsplash/OpenSLX | |
parent | changed nvidia-install.sh to support module compilation! (diff) | |
download | core-622eaa5e261d28b41c354186eb49726af1df93c9.tar.gz core-622eaa5e261d28b41c354186eb49726af1df93c9.tar.xz core-622eaa5e261d28b41c354186eb49726af1df93c9.zip |
first version of splashy_update with uClibc in stage4
for tests
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2094 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins/plugins/bootsplash/OpenSLX')
-rw-r--r-- | os-plugins/plugins/bootsplash/OpenSLX/OSPlugin/bootsplash.pm | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/os-plugins/plugins/bootsplash/OpenSLX/OSPlugin/bootsplash.pm b/os-plugins/plugins/bootsplash/OpenSLX/OSPlugin/bootsplash.pm index 0d2b566d..17e4416f 100644 --- a/os-plugins/plugins/bootsplash/OpenSLX/OSPlugin/bootsplash.pm +++ b/os-plugins/plugins/bootsplash/OpenSLX/OSPlugin/bootsplash.pm @@ -113,6 +113,41 @@ sub suggestAdditionalKernelModules return @suggestedModules; } +sub installationPhase +{ + my $self = shift; + my $info = shift; + + $self->{pluginRepositoryPath} = $info->{'plugin-repo-path'}; + $self->{openslxBasePath} = $info->{'openslx-base-path'}; + my $splashyBinPath = + "$self->{openslxBasePath}/lib/plugins/bootsplash/files/bin"; + my $uClibcPath = "$self->{openslxBasePath}/share/uclib-rootfs/lib"; + my $pluginRepoPath = "$self->{pluginRepositoryPath}"; + + # copy splashy_update into plugin-repo folder + mkpath("$pluginRepoPath/bin"); + mkpath("$pluginRepoPath/lib"); + slxsystem("cp -a $splashyBinPath/* $pluginRepoPath/bin") == 0 + or die _tr( + "unable to copy splashy to $pluginRepoPath/bin" + ); + slxsystem("cp -a $uClibcPath/libuClibc* pluginRepoPath/lib") == 0 + or die _tr( + "unable to copy libuClibc to $pluginRepoPath/lib" + ); + + return; +} + +sub removalPhase +{ + my $self = shift; + my $info = shift; + + return; +} + sub copyRequiredFilesIntoInitramfs { my $self = shift; |