qemu-patch-raspberry4/pc-bios/optionrom
Alexander Graf c66b57fc14 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 <glommer@redhat.com>.
Printf idea by Paolo Bonzini <bonzini@gnu.org>.

Signed-off-by: Alexander Graf <agraf@suse.de>
CC: Glauber Costa <glommer@redhat.com>
CC: Paolo Bonzini <bonzini@gnu.org>
CC: Jan Ondrej <ondrejj@salstar.sk>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
2009-08-10 13:05:30 -05:00
..
Makefile Do not try to invoke shebang scripts directly (NFS issues) 2009-08-10 03:41:46 +04:00
multiboot.S Update to a hopefully more future proof FSF address 2009-07-16 20:47:01 +00:00
signrom.sh Fix checksum writing in signboot.sh 2009-08-10 13:05:30 -05:00