wic: Fix format string
wic crashes with "TypeError: %d format: a number is required, not str" Due to incorrect format used for Wic_PartData.extra_size attribute. Using %s instead of %d should fix the crash. (From OE-Core rev: 2cae0473971ff3983c7e423c23215b342c7dad1d) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
0510591058
commit
5b4ab4e4be
|
@ -71,7 +71,7 @@ class Wic_PartData(Mic_PartData):
|
|||
retval += " --no-table"
|
||||
if self.use_uuid:
|
||||
retval += " --use-uuid"
|
||||
retval += " --extra-space=%d" % self.extra_space
|
||||
retval += " --extra-space=%s" % self.extra_space
|
||||
retval += " --overhead-factor=%f" % self.overhead_factor
|
||||
|
||||
return retval
|
||||
|
|
Loading…
Reference in New Issue