[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] More build breakage: signrom.sh vs kvmvapic.bin
From: |
Jan Kiszka |
Subject: |
Re: [Qemu-devel] More build breakage: signrom.sh vs kvmvapic.bin |
Date: |
Sun, 01 Apr 2012 10:36:59 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 |
On 2012-04-01 04:48, Brad Smith wrote:
> Here is another source of build breakage that popped up over a month ago.
>
> The patch below fixes the build but I'm wondering why the file in question
> is being built on anything but Linux. It seems to be used for KVM support
> and thus has no relevance on any other OS.
It is only build on x86 unix hosts minus Mac. We are shipping it as
binary for the rest. There is WIP on getting KVM working for Solaris, so
this may not be of Linux-only interest in the future.
>
>
> AS optionrom/kvmvapic.o
> Building optionrom/kvmvapic.img
> Building optionrom/kvmvapic.raw
> Signing optionrom/kvmvapic.bin
> /buildbot-qemu/default_openbsd_current/build/scripts/signrom.sh[31]:
> 018 * 512 - 1 :
> bad number `018'
> gmake[1]: *** [kvmvapic.bin] Error 1
>
>
> diff --git a/scripts/signrom.sh b/scripts/signrom.sh
> index 9dc5c63..2d421e9 100755
> --- a/scripts/signrom.sh
> +++ b/scripts/signrom.sh
> @@ -27,8 +27,8 @@ sum=0
>
> # find out the file size
> x=`dd if="$1" bs=1 count=1 skip=2 2>/dev/null | od -t u1 -A n`
> -#size=`expr $x \* 512 - 1`
> -size=$(( $x * 512 - 1 ))
> +size=`expr $x \* 512 - 1`
> +#size=$(( $x * 512 - 1 ))
>
> # now get the checksum
> nums=`od -A n -t u1 -v -N $size "$1"`
>
signrom.sh is horribly slow and should be replaced soon, see
http://thread.gmane.org/gmane.comp.emulators.qemu/139368
Jan
signature.asc
Description: OpenPGP digital signature
- Re: [Qemu-devel] More build breakage: signrom.sh vs kvmvapic.bin,
Jan Kiszka <=