[arch-commits] CVS update of extra/emulators/qemu (PKGBUILD)

Alexander Baldeck alexander at archlinux.org
Tue Jun 12 14:36:27 EDT 2007


    Date: Tuesday, June 12, 2007 @ 14:36:27
  Author: alexander
    Path: /home/cvs-extra/extra/emulators/qemu

Modified: PKGBUILD (1.6 -> 1.7)

* added kvm binary as extra on top of regular qemu-system-CARCH


----------+
 PKGBUILD |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)


Index: extra/emulators/qemu/PKGBUILD
diff -u extra/emulators/qemu/PKGBUILD:1.6 extra/emulators/qemu/PKGBUILD:1.7
--- extra/emulators/qemu/PKGBUILD:1.6	Mon Jun 11 03:38:47 2007
+++ extra/emulators/qemu/PKGBUILD	Tue Jun 12 14:36:27 2007
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD,v 1.6 2007/06/11 07:38:47 alexander Exp $
+# $Id: PKGBUILD,v 1.7 2007/06/12 18:36:27 alexander Exp $
 # Maintainer: Thomas Bächler <thomas at archlinux.org>
 pkgname=qemu
 pkgver=0.9.0
-pkgrel=2
+pkgrel=3
 pkgdesc="QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation."
 arch=(i686 x86_64)
 license=('GPL')
@@ -32,11 +32,8 @@
   install -D -m644 ${startdir}/src/70-kqemu.rules \
                    ${startdir}/pkg/etc/udev/rules.d/70-kqemu.rules
 
-  # we replace the regular $CHOST version with the kvm/qemu version on
-  # x86_64 only for now
+  # we add the kvm/qemu version on x86_64 only for now
   if [ ${CARCH} = "x86_64" ]; then
-    rm ${startdir}/pkg/usr/bin/qemu-system-x86_64
-
     cd ${startdir}/src/kvm-28
     ./configure --prefix=/usr \
                 --qemu-cc=gcc-3.3
@@ -47,7 +44,7 @@
     done
 
     install -m 755 ${startdir}/src/kvm-28/qemu/x86_64-softmmu/qemu-system-x86_64 \
-                   ${startdir}/pkg/usr/bin/qemu-system-x86_64
+                   ${startdir}/pkg/usr/bin/qemu-system-x86_64-kvm
 
   fi
 }




More information about the arch-commits mailing list