« Previous | Next » 

Revision c66b57fc


Added by Alexander Graf almost 15 years ago

Fix checksum writing in signboot.sh

The printf command takes an octal value after \, so we have to convert
our decimal representation to octal first and then write it.

This unbreaks extboot signing. Multiboot wasn't affected yet because
the checksum was < 8.

Spotted and first patch by Glauber Costa <>.
Printf idea by Paolo Bonzini <>.

Signed-off-by: Alexander Graf <>
CC: Glauber Costa <>
CC: Paolo Bonzini <>
CC: Jan Ondrej <>
Signed-off-by: Anthony Liguori <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences