From 9309964df703969a09d6bb11d1e465c90fa2bafe Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Tue, 13 Jan 2009 19:40:44 +0000 Subject: Simple fix to the wlanboot code ... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2475 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/wlanboot/OpenSLX/OSPlugin/wlanboot.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'os-plugins') 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; -- cgit v1.2.3-55-g7522