Browse Source

qemu-kvm: changed to use a patch for mangling names for installed binaries to include '-kvm' suffix

stable/0.2
Christian Wiese 14 years ago
parent
commit
e61c411bed
  1. 30
      emulators/qemu-kvm/qemu-kvm-0.14.1-progname.patch
  2. 5
      emulators/qemu-kvm/qemu-kvm.conf

30
emulators/qemu-kvm/qemu-kvm-0.14.1-progname.patch

@ -0,0 +1,30 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../qemu-kvm/qemu-kvm-0.14.1-progname.patch
# Copyright (C) 2011 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- qemu-kvm-0.14.1/Makefile.target.orig 2011-06-01 19:42:21.004004948 +0200
+++ qemu-kvm-0.14.1/Makefile.target 2011-06-01 19:43:01.144004948 +0200
@@ -24,9 +24,9 @@
else
# system emulator name
ifeq ($(TARGET_ARCH), i386)
-QEMU_PROG=qemu$(EXESUF)
+QEMU_PROG=qemu-kvm$(EXESUF)
else
-QEMU_PROG=qemu-system-$(TARGET_ARCH2)$(EXESUF)
+QEMU_PROG=qemu-kvm-system-$(TARGET_ARCH2)$(EXESUF)
endif
endif

5
emulators/qemu-kvm/qemu-kvm.conf

@ -16,9 +16,4 @@
# installed at the right place and to avoid shared files with qemu
datadir="$datadir/$pkg"
# mangle names for installed binaries to include '-kvm' suffix for avoiding
# name clashed with the binaries if the original qemu
var_append INSTALL_WRAPPER_FILTER "|" \
"sed -e 's,\(usr/bin/\)\(qemu\),\1\2-kvm,'"
var_append GCC_WRAPPER_INSERT ' ' "-L$(pkgprefix libdir libx11)"

Loading…
Cancel
Save