Accepting request 108212 from home:a_faerber:branches:Virtualization

Fix non-SUSE code path in update_git.sh: It couldn't find the v1.0.1 tag, so add and update the upstream git repository as remote. Also remove any previous temporary git checkout first.

OBS-URL: https://build.opensuse.org/request/show/108212
OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=61
This commit is contained in:
Andreas Färber 2012-03-06 19:33:45 +00:00 committed by Git OBS Bridge
parent 444bd2feaa
commit 5d2b4ab495
5 changed files with 13 additions and 5 deletions

View File

@ -1,7 +1,8 @@
From 4c1134246f3bd0af9b9b512a2094010ed12e7895 Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf@suse.de>
Date: Mon, 5 Dec 2011 23:37:52 +0100
Subject: [PATCH] XXX move qemu binary lower in address space so we have space for guest stuff
Subject: [PATCH] XXX move qemu binary lower in address space so we have space
for guest stuff
---
x86_64.ld | 2 +-

View File

@ -1,7 +1,8 @@
From 9a72708a58d7bcbc1ba036a44cea920a238b0312 Mon Sep 17 00:00:00 2001
From: Fabio Erculiani <lxnay@sabayon.org>
Date: Tue, 3 Jan 2012 09:38:34 +0000
Subject: [PATCH] linux-user: improve fake /proc/self/stat making `ps` not segfault.
Subject: [PATCH] linux-user: improve fake /proc/self/stat making `ps` not
segfault.
With the current fake /proc/self/stat implementation `ps` is
segfaulting because it expects to read PID and argv[0] as first and

View File

@ -1,7 +1,8 @@
From e8171f6d129e129fe632721ab603f800385b0609 Mon Sep 17 00:00:00 2001
From: Fabio Erculiani <lxnay@sabayon.org>
Date: Tue, 3 Jan 2012 09:38:35 +0000
Subject: [PATCH] linux-user: target_argv is placed on ts->bprm->argv and can't be freed()
Subject: [PATCH] linux-user: target_argv is placed on ts->bprm->argv and
can't be freed()
TaskState contains linux_bprm struct which encapsulates argv among
other things.

View File

@ -1,7 +1,8 @@
From 351142c287c874f959828c6360cda977306dfa47 Mon Sep 17 00:00:00 2001
From: Alexander Graf <agraf@suse.de>
Date: Tue, 10 Jan 2012 17:03:02 +0100
Subject: [PATCH] PPC: KVM: Ignore ENABLE_PAPR to support very old HV KVM kernels
Subject: [PATCH] PPC: KVM: Ignore ENABLE_PAPR to support very old HV KVM
kernels
Very old kernels (3.1) didn't expose the PAPR capability yet, but still
did work with HV KVM. Make the error a warning so we can work on them.

View File

@ -22,12 +22,16 @@ fi
rm -f qemu.spec
# fetch all patches
rm -rf qemu-tmp
if [ -d "$GIT_LOCAL_TREE" ]; then
git clone -ls $GIT_LOCAL_TREE qemu-tmp
cd qemu-tmp
else
git clone $GIT_TREE qemu-tmp
cd qemu-tmp
git remote add upstream git://git.qemu.org/qemu.git
git remote update
fi
cd qemu-tmp
git checkout $GIT_BRANCH
git format-patch -N --no-signature $GIT_UPSTREAM_TAG -o ..
cd ..