diff options
author | Dirk von Suchodoletz | 2009-01-13 20:40:44 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2009-01-13 20:40:44 +0100 |
commit | 9309964df703969a09d6bb11d1e465c90fa2bafe (patch) | |
tree | cb991a59cb8196f4091e86a0237049f7540952f4 /os-plugins | |
parent | Adding a new plugin "wlanboot". Just first checkin - untested ... (diff) | |
download | core-9309964df703969a09d6bb11d1e465c90fa2bafe.tar.gz core-9309964df703969a09d6bb11d1e465c90fa2bafe.tar.xz core-9309964df703969a09d6bb11d1e465c90fa2bafe.zip |
Simple fix to the wlanboot code ...
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2475 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'os-plugins')
-rw-r--r-- | os-plugins/plugins/wlanboot/OpenSLX/OSPlugin/wlanboot.pm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/os-plugins/plugins/wlanboot/OpenSLX/OSPlugin/wlanboot.pm b/os-plugins/plugins/wlanboot/OpenSLX/OSPlugin/wlanboot.pm index 441254b3..cc01f07c 100644 --- a/os-plugins/plugins/wlanboot/OpenSLX/OSPlugin/wlanboot.pm +++ b/os-plugins/plugins/wlanboot/OpenSLX/OSPlugin/wlanboot.pm @@ -18,6 +18,8 @@ use warnings; use base qw(OpenSLX::OSPlugin::Base); +use File::Path; + use OpenSLX::Basics; use OpenSLX::Utils; @@ -105,7 +107,7 @@ sub copyRequiredFilesIntoInitramfs my $targetPath = shift; my $attrs = shift; my $makeInitRamFSEngine = shift; - my $pluginRepoPath = $info->{'plugin-repo-path'}; + my $pluginRepoPath = "$openslxConfig{'base-path'}/lib/plugins/wlanboot"; $makeInitRamFSEngine->addCMD( "cp -p $pluginRepoPath/files/bin/* $targetPath/bin/" @@ -113,6 +115,9 @@ sub copyRequiredFilesIntoInitramfs $makeInitRamFSEngine->addCMD( "cp -a $pluginRepoPath/files/firmware $targetPath/lib" ); + vlog(1, _tr("wlanboot-plugin: ...")); + + return; } 1; |