qemu/pc-bios/optionrom
Alexander Graf 4fca9293dc 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-27 21:23:37 -05:00
..
Makefile Option rom makefile fixes 2009-08-27 21:23:36 -05: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-27 21:23:37 -05:00