sign_official_build: Use sign_firmware.sh for in-place firmware signing.
We recently fixed a bug in the sign_firmware.sh script to perform
root key replacement after signing FWA and FWB to allow
resign_firmwarefd.sh to correctly determine the preamble flag to use.
As it turns out, the sign_official_build.sh script used by the signer
for in-place firmware re-signing was using a different code path (by
directly calling resign_firmwarefd.sh).
This change makes sign_official_build script call sign_firmware.sh instead.
TEST=tried signing a vanilla lumpy image with and without the fix, and
observed the value of preamble flag used.
Reviewed-by: Duncan Laurie <email@example.com>
Tested-by: Gaurav Shah <firstname.lastname@example.org>
1 file changed