summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaptor Engineering Development Team <support@raptorengineering.com>2018-01-06 07:07:28 -0600
committerRaptor Engineering Development Team <support@raptorengineering.com>2018-01-16 15:11:34 -0600
commitb2a1e4dfd8abddad3e3e3527cc9dc3a12d57627f (patch)
tree53fe349529a94d0a74aa7846cd81992437a2f3a9
parent61680b7d90e2051c1540b2272af45b6a654326dc (diff)
downloadpnor-b2a1e4dfd8abddad3e3e3527cc9dc3a12d57627f.tar.gz
pnor-b2a1e4dfd8abddad3e3e3527cc9dc3a12d57627f.zip
Allow SBEC image skip on POWER9
-rwxr-xr-xupdate_image.pl6
1 files changed, 5 insertions, 1 deletions
diff --git a/update_image.pl b/update_image.pl
index bde6107..99cef53 100755
--- a/update_image.pl
+++ b/update_image.pl
@@ -79,6 +79,7 @@ while (@ARGV > 0){
shift;
}
elsif (/^-sbec_binary_filename/i){
+ #This filename is necessary if the file exists, but if it's not given, we add a blank partition
$sbec_binary_filename = $ARGV[1] or die "Bad command line arg given: expecting a config type.\n";
shift;
}
@@ -528,7 +529,10 @@ else
}
#Stage SBEC image
-run_command("cp $hb_binary_dir/$sbec_binary_filename $scratch_dir/");
+if(-e $memd_binary_filename)
+{
+ run_command("cp $hb_binary_dir/$sbec_binary_filename $scratch_dir/");
+}
#END MAIN
#-------------------------------------------------------------------------
OpenPOWER on IntegriCloud