Statistics
| Branch: | Revision:

root / pc-bios / optionrom / signrom.sh @ 7943a2fa

History | View | Annotate | Download (1.3 kB)

# Date Author Comment
33bbd1de 11/21/2010 05:16 pm Avi Kivity

optionrom: fix bugs in signrom.sh

signrom.sh has multiple bugs:

- the last byte is considered when calculating the existing checksum, but not
when computing the correction
- apprently the 'expr' expression overflows and produces incorrect results with...

c66b57fc 08/10/2009 09:05 pm Alexander Graf

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....

99772ae2 07/22/2009 06:58 pm Christoph Egger

signrom.sh: portability fix

Attached patch makes signrom.sh working on NetBSD.
The output of the 'od' command leads to a syntax error
which breaks the build.

Signed-off-by: Christoph Egger <>
Signed-off-by: Anthony Liguori <>

8167ee88 07/16/2009 11:47 pm Blue Swirl

Update to a hopefully more future proof FSF address

Signed-off-by: Blue Swirl <>

89e671e3 07/10/2009 12:06 am Alexander Graf

Replace signrom with shell script v3

In order to not execute code we just compiled, let's replace signrom
with a shell script that does the same thing while staying compatible
to pretty much every system available.

This should make cross-compilation for windows easier....