sign_official_build: support new firmware updater repacking method

To prevent hard-coding the procedure to repack a firmware updater, this CL
supports using new "--sb_repack" mode supported by updater so that signer does
not need to care about how the updater is packed anymore.

TEST=./ ssd \
     ~/trunk/src/build/images/x86-zgb/latest/chromiumos_image.bin \
     ../../tests/devkeys \
     # success

Change-Id: I035dfaa86b05b85748e69ec039769b0c08d33f64
Tested-by: Hung-Te Lin <>
Reviewed-by: Gaurav Shah <>
1 file changed