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> | 2018-04-15 17:24:47 -0500 |
commit | 718ceb7fab4523133dd6a775248dc55209f1a391 (patch) | |
tree | 3cf3fdf0b0ca3cdba90f003024350ef364df0a02 | |
parent | d5ba9da1a25911c81f1f174248b78dc434e3736b (diff) | |
download | pnor-718ceb7fab4523133dd6a775248dc55209f1a391.tar.gz pnor-718ceb7fab4523133dd6a775248dc55209f1a391.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 d8fec34..7102992 100755 --- a/update_image.pl +++ b/update_image.pl @@ -84,6 +84,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; } @@ -531,7 +532,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 #------------------------------------------------------------------------- |