From d3d73a885a5f30aee5985d0e4e689c79a6029449 Mon Sep 17 00:00:00 2001 From: jjhua Date: Thu, 17 Mar 2011 09:50:22 +0000 Subject: [PATCH] firstly, rflash supports for single FSP or BPA git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9072 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/FSPflash.pm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/FSPflash.pm b/perl-xCAT/xCAT/FSPflash.pm index 920d50054..930c4d0e7 100644 --- a/perl-xCAT/xCAT/FSPflash.pm +++ b/perl-xCAT/xCAT/FSPflash.pm @@ -471,13 +471,19 @@ sub rflash { } dpush ( \@value, [$name, $msg]); } + + my $res = xCAT::FSPUtils::fsp_api_action( $name, $d, $action ); + push(@value,[$name, @$res[1], @$res[2]]); + return (\@value); + my $nodes = get_related_fsp_bpa( $mtm, $serial); #print Dumper($nodes); my $i = 0; my $flag = 0; my $c = @$nodes; my $name2 = undef; - if ($c == 1 && $role == 0x01 ) { + my @dt; + if ($c == 1 && $role == 0x01 ) { } if ($c == 1 && $role == 0x02 ) {