Remove mknb plugin debug output, fix xCAT-server spec file to deal with symlinks as intended for mknb

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@562 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-02-25 14:30:25 +00:00
parent cbf46ec99c
commit 7cdee0d9f1
2 changed files with 2 additions and 3 deletions

View File

@ -3,7 +3,6 @@ use File::Temp qw(tempdir);
use xCAT::Utils;
use File::Path;
use File::Copy;
use Data::Dumper;
sub handled_commands {
return {
@ -42,7 +41,7 @@ sub process_request {
my $installdir = "/install";
my $tftpdir = "/tftpboot";
if (scalar(@{$request->{arg}}) != 1) {
$callback->({error=>Dumper($request)." Need to specifiy architecture (x86_64 or ppc64)"},{errorcode=>[1]});
$callback->({error=>"Need to specifiy architecture (x86_64 or ppc64)"},{errorcode=>[1]});
return;
}
my $arch = $request->{arg}->[0];

View File

@ -50,7 +50,7 @@ cp -hpR share/xcat/install/* $RPM_BUILD_ROOT/%{prefix}/share/xcat/install/
cp -hpR share/xcat/netboot/* $RPM_BUILD_ROOT/%{prefix}/share/xcat/netboot/
%endif
cp sbin/* $RPM_BUILD_ROOT/%{prefix}/sbin
cp -d sbin/* $RPM_BUILD_ROOT/%{prefix}/sbin
chmod 755 $RPM_BUILD_ROOT/%{prefix}/sbin/*
cp share/xcat/ca/* $RPM_BUILD_ROOT/%{prefix}/share/xcat/ca