[arch-commits] Commit in qemu-kvm/trunk (PKGBUILD)

Tobias Powalowski tpowa at archlinux.org
Sun Jan 15 08:30:34 UTC 2012


    Date: Sunday, January 15, 2012 @ 03:30:33
  Author: tpowa
Revision: 146638

upgpkg: qemu-kvm 1.0-2

fix seabios bios.bin file

Modified:
  qemu-kvm/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++++++++++++++--
 1 file changed, 17 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2012-01-15 07:41:35 UTC (rev 146637)
+++ PKGBUILD	2012-01-15 08:30:33 UTC (rev 146638)
@@ -2,13 +2,13 @@
 # Maintainer: Tobias Powalowski <tpowa at archlinux.org>
 pkgname=qemu-kvm
 pkgver=1.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Latest KVM QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation."
 arch=(i686 x86_64)
 license=('GPL2' 'LGPL2.1')
 url="http://www.linux-kvm.org"
 depends=('libjpeg' 'libpng' 'libsasl' 'curl' 'sdl' 'alsa-lib' 'nss' 'glib2' 'gnutls>=2.4.1' 'bluez' 'vde2' 'util-linux-ng' 'libpulse')
-makedepends=('texi2html' 'perl' 'python2')
+makedepends=('git' 'iasl' 'texi2html' 'perl' 'python2')
 backup=('etc/qemu/target-x86_64.conf')
 install=qemu-kvm.install
 conflicts=('qemu')
@@ -29,11 +29,26 @@
                 --audio-card-list=ac97,sb16,es1370,hda \
                 --enable-docs
     make
+
+    # Use latest seabios version
+    # https://bugs.archlinux.org/task/27616
+    cd ${srcdir}/
+    git clone git://git.seabios.org/seabios.git
+    cd seabios
+    find 'tools/' 'contrib' -type f | xargs sed -i 's@^#!.*python$@#!/usr/bin/python2@'
+    make clean
+    make
 }
+
 package()
 {
     cd ${srcdir}/${pkgname}-${pkgver}
     make DESTDIR=${pkgdir} install
+    
+    # Use latest seabios version
+    # https://bugs.archlinux.org/task/27616
+    cp ${srcdir}/seabios/out/bios.bin ${pkgdir}/usr/share/qemu/bios.bin
+
     # symbolic link for backwards compatibility
     ln -s qemu-system-x86_64 ${pkgdir}/usr/bin/qemu-kvm
     # symbolic link for to qemu binary for emulator apps




More information about the arch-commits mailing list