From 1bf336a3f8672adec4b876ee2fcac7818a047771 Mon Sep 17 00:00:00 2001 From: jjhua Date: Tue, 13 Dec 2011 07:13:43 +0000 Subject: [PATCH] fixed defect 3458235, get_compatible_version_from_rpm also will check the directory of the firmware files git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.6@11225 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/FSPUtils.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/FSPUtils.pm b/perl-xCAT/xCAT/FSPUtils.pm index 289af4435..02be7210f 100644 --- a/perl-xCAT/xCAT/FSPUtils.pm +++ b/perl-xCAT/xCAT/FSPUtils.pm @@ -146,7 +146,7 @@ sub fsp_api_action { my $cmd; my $install_dir = xCAT::Utils->getInstallDir(); - if( $action =~ /^code_update$/) { + if( $action =~ /^(code_update|get_compatible_version_from_rpm)$/) { $cmd = "$fsp_api -a $action -T $tooltype -t $type:$fsp_ip:$id:$node_name:$parameter -d $install_dir/packages_fw/"; } elsif($action =~ /^add_connection$/) { $cmd = "$fsp_api -a $action -u $user -p $password -T $tooltype -t $type:$fsp_ip:$id:$node_name:";