Skip to content

Commit

Permalink
Support open signing tool when inserting a zeroed partition
Browse files Browse the repository at this point in the history
Change-Id: I043f740fdcb529af81a3c74e01d84613fb1769b0
RTC: 174017
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/42626
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
Nick Bofferding authored and dcrowell77 committed Jul 11, 2017
1 parent 758d829 commit 866fdde
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions src/build/buildpnor/genPnorImages.pl
Expand Up @@ -845,9 +845,18 @@ sub manipulateImages
if ($secureboot && $secureSupported)
{
$callerHwHdrFields{configure} = 1;
# @TODO RTC:155374 Remove when official signing
# supported
run_command("$SIGNING_DIR/build -good -if $secureboot_hdr -of $tempImages{PAD_PHASE} -bin $tempImages{TEMP_BIN} $SIGN_BUILD_PARAMS");
if($openSigningTool)
{
run_command("$CUR_OPEN_SIGN_REQUEST "
. "--protectedPayload $tempImages{TEMP_BIN} "
. "--out $tempImages{PAD_PHASE}");
}
else
{
# @TODO RTC:155374 Remove when official signing
# supported
run_command("$SIGNING_DIR/build -good -if $secureboot_hdr -of $tempImages{PAD_PHASE} -bin $tempImages{TEMP_BIN} $SIGN_BUILD_PARAMS");
}
setCallerHwHdrFields(\%callerHwHdrFields,
$tempImages{PAD_PHASE});
}
Expand Down

0 comments on commit 866fdde

Please sign in to comment.