sign_gsc_firmware: support rewriting filename

When the gsc signer reads the contents of the payload it finds
out if it is a cr50 or ti50 chip. We write the chip type to a
.rename file next to the bin (which has a @CHIP@ in the path) so
that the signer can rename the artifact for placement.

Signed-off-by: George Engelbrecht <>

TEST=local signer

Change-Id: I0600cb60bb614111802119293ba0c63f2b61c231
Reviewed-by: Mike Frysinger <>
Reviewed-by: Vadim Bendebury <>
Commit-Queue: George Engelbrecht <>
Tested-by: George Engelbrecht <>
1 file changed