binman: Correct Chromium OS entry types

The conversion to bintools broke the invocation of the utility, since
the arguments are not correct. Fix it.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2022-02-28 12:08:20 -07:00 committed by Tom Rini
parent 78df2146d2
commit 3390948c0f
2 changed files with 3 additions and 3 deletions

View file

@ -106,7 +106,7 @@ class Bintoolfutility(bintool.Bintool):
Returns: Returns:
str: Tool output str: Tool output
""" """
args = ['gbb_utility' args = ['gbb_utility',
'-s', '-s',
f'--hwid={hwid}', f'--hwid={hwid}',
f'--rootkey={rootkey}', f'--rootkey={rootkey}',
@ -139,7 +139,7 @@ class Bintoolfutility(bintool.Bintool):
'--keyblock', keyblock, '--keyblock', keyblock,
'--signprivate', signprivate, '--signprivate', signprivate,
'--version', version, '--version', version,
'--fw', firmware, '--fv', firmware,
'--kernelkey', kernelkey, '--kernelkey', kernelkey,
'--flags', flags '--flags', flags
] ]

View file

@ -73,7 +73,7 @@ class Entry_vblock(Entry_collection):
vblock=output_fname, vblock=output_fname,
keyblock=prefix + self.keyblock, keyblock=prefix + self.keyblock,
signprivate=prefix + self.signprivate, signprivate=prefix + self.signprivate,
version=f'{self.version,}', version=f'{self.version:d}',
firmware=input_fname, firmware=input_fname,
kernelkey=prefix + self.kernelkey, kernelkey=prefix + self.kernelkey,
flags=f'{self.preamble_flags}') flags=f'{self.preamble_flags}')