Updated documentation for Brahmaputra 3.0 follow-up release
[armband.git] / patches / fuel-plugin-qemu / 0001-Fix-apt-cache-and-qemu-version-handling.patch
1 From: Stanislaw Kardach <stanislaw.kardach@caviumnetworks.com>
2 Date: Fri, 4 Mar 2016 14:26:43 +0100
3 Subject: [PATCH] Fix apt cache and qemu version handling
4
5 ---
6  qemu/build-qemu.sh | 7 ++++---
7  1 file changed, 4 insertions(+), 3 deletions(-)
8
9 diff --git a/qemu/build-qemu.sh b/qemu/build-qemu.sh
10 index 652939e..f54f486 100755
11 --- a/qemu/build-qemu.sh
12 +++ b/qemu/build-qemu.sh
13 @@ -1,11 +1,12 @@
14  #!/bin/bash
15  wget http://wiki.qemu-project.org/download/qemu-2.2.1.tar.bz2
16 +sudo apt-get update -y
17  sudo apt-get build-dep qemu -y
18  sudo apt-get install devscripts -y
19  sudo apt-get install dpkg-dev -y
20 -apt-get source qemu -y
21 -dpkg-source -x qemu_2.0.0+dfsg-2ubuntu1.21.dsc
22 -cd qemu-2.0.0+dfsg; uupdate -v 2.2.1 ../qemu-2.2.1.tar.bz2
23 +apt-get source qemu=2.0.0 -y
24 +dpkg-source -x qemu_2.0.0*.dsc
25 +cd qemu-2.0.0*; uupdate -v 2.2.1 ../qemu-2.2.1.tar.bz2
26  cd ../qemu-2.2.1;echo "">> debian/patches/series
27  sed -i 's/seccomp="yes"/seccomp="no"/' configure
28  debian/rules build