summaryrefslogtreecommitdiff
path: root/qemu-img-cmds.hx
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2009-08-01 11:48:31 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-27 21:23:37 -0500
commit4fca9293dc0275829834fa09d7b50588244e599d (patch)
tree764e48da8c2dbc8f80e4067362504cc4a4db5dc8 /qemu-img-cmds.hx
parenta80858982a23d83648f19a1084d5360258ed94fc (diff)
downloadqemu-4fca9293dc0275829834fa09d7b50588244e599d.tar.gz
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:
Diffstat (limited to 'qemu-img-cmds.hx')
0 files changed, 0 insertions, 0 deletions