aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-08-11 11:45:28 +0300
committerAvi Kivity <avi@redhat.com>2009-08-11 11:45:28 +0300
commit454575c27aa08048113fbb77f532a82e7c89d62d (patch)
tree4aa665d3ef74fd02fcbec4bfe50a21f5c76df1ca /pc-bios
parentMerge commit 'f915a11563a6b4377acbf9ff800bcfbc9225f1d3' into upstream-merge (diff)
parentmove check_linker_flags sooner than starting of printing variables (diff)
downloadqemu-kvm-454575c27aa08048113fbb77f532a82e7c89d62d.tar.gz
qemu-kvm-454575c27aa08048113fbb77f532a82e7c89d62d.tar.bz2
qemu-kvm-454575c27aa08048113fbb77f532a82e7c89d62d.zip
Merge commit 'a36abbbbfbe32f3beb649d3cddd7304137f44780' into upstream-merge
* commit 'a36abbbbfbe32f3beb649d3cddd7304137f44780': move check_linker_flags sooner than starting of printing variables move cpu command line setting to the beggining Use CFLAGS from enviroment, ARCH_CFLAGS hasn't been defined yet oss variable don't exist anymore strip binary is not used anywhere vga: do not resize the screen on hw_invalidate fix sdl window resize variable timer intervals single vnc server surface a single vnc timer to refresh the screen Fix checksum writing in signboot.sh Add new block driver for the VDI format (only aio supported) Win32: Fix default prefix qdev/isa: convert fdc. qdev/isa: make pc use qdev for i8042 setup. qdev/isa: make the piix isa bridge register an isa bus. qdev/isa: add qdev support to i8042 (aka ps/2 kbd+mouse). Conflicts: configure Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'pc-bios')
-rwxr-xr-xpc-bios/optionrom/signrom.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/pc-bios/optionrom/signrom.sh b/pc-bios/optionrom/signrom.sh
index 432281137..975b27dd6 100755
--- a/pc-bios/optionrom/signrom.sh
+++ b/pc-bios/optionrom/signrom.sh
@@ -39,7 +39,8 @@ done
sum=$(( $sum % 256 ))
sum=$(( 256 - $sum ))
+sum_octal=$( printf "%o" $sum )
# and write the output file
cp "$1" "$2"
-printf "\\$sum" | dd of="$2" bs=1 count=1 seek=$size conv=notrunc 2>/dev/null
+printf "\\$sum_octal" | dd of="$2" bs=1 count=1 seek=$size conv=notrunc 2>/dev/null