« Previous | Next » 

Revision c66b57fc

IDc66b57fc144345e7f4b5f2bfc6a389d57d927647

Added by Alexander Graf almost 12 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 <>
Message-Id:

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences