diff options
author | Raptor Engineering Development Team <support@raptorengineering.com> | 2018-01-06 07:07:28 -0600 |
---|---|---|
committer | Raptor Engineering Development Team <support@raptorengineering.com> | 2019-04-19 06:37:03 +0000 |
commit | bf5dfeaefc102608aff40b38f73cf72f2f154e13 (patch) | |
tree | 4b3e1ea46d54e7ad02fa894fa2c543bff3eae089 | |
parent | abc4939faa4592e2d713ea8d4c41c6680b57863c (diff) | |
download | pnor-bf5dfeaefc102608aff40b38f73cf72f2f154e13.tar.gz pnor-bf5dfeaefc102608aff40b38f73cf72f2f154e13.zip |
Allow SBEC image skip on POWER9
-rwxr-xr-x | update_image.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/update_image.pl b/update_image.pl index 07f4600..fffe2ea 100755 --- a/update_image.pl +++ b/update_image.pl @@ -104,6 +104,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; } @@ -569,7 +570,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 #------------------------------------------------------------------------- |