From 366eb340bd839d75bd8edc049caa231ad1599f59 Mon Sep 17 00:00:00 2001 From: jjhua Date: Tue, 14 Feb 2012 08:55:06 +0000 Subject: [PATCH] for the FB pblade, the parent of the blade is cmm, rflash will not check the parent's firmware level git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11571 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/FSPflash.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/FSPflash.pm b/perl-xCAT/xCAT/FSPflash.pm index f2cdf19b9..3fe43b946 100644 --- a/perl-xCAT/xCAT/FSPflash.pm +++ b/perl-xCAT/xCAT/FSPflash.pm @@ -260,7 +260,8 @@ sub rflash { my @levels = split(/,/, $v); my $frame = $$d[5]; - if ( $frame ne $name ) { + my $type = xCAT::DBobjUtils->getnodetype($frame); + if ( ( $frame ne $name ) && ( $type eq "frame" ) ){ my @frame_d = (0, 0, 0, $frame, "frame", 0); $action = "list_firmware_level";