fb435f43f3
Fix build issues for some older distros. Also includes fixing broken parts of spec file when not building x86 firmware. OBS-URL: https://build.opensuse.org/request/show/493037 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=338
29 lines
961 B
Diff
29 lines
961 B
Diff
From 70b4b47993dbbae58b80e504f4bc373e75a4acfb Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Andreas=20F=C3=A4rber?= <afaerber@suse.de>
|
|
Date: Wed, 10 Aug 2016 19:00:24 +0200
|
|
Subject: [PATCH] qemu-binfmt-conf: Modify default path
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Change QEMU_PATH from /usr/local/bin to /usr/bin prefix.
|
|
|
|
Signed-off-by: Andreas Färber <afaerber@suse.de>
|
|
---
|
|
scripts/qemu-binfmt-conf.sh | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/scripts/qemu-binfmt-conf.sh b/scripts/qemu-binfmt-conf.sh
|
|
index 0f1aa63872..9fcd95a435 100755
|
|
--- a/scripts/qemu-binfmt-conf.sh
|
|
+++ b/scripts/qemu-binfmt-conf.sh
|
|
@@ -264,7 +264,7 @@ BINFMT_SET=qemu_register_interpreter
|
|
SYSTEMDDIR="/etc/binfmt.d"
|
|
DEBIANDIR="/usr/share/binfmts"
|
|
|
|
-QEMU_PATH=/usr/local/bin
|
|
+QEMU_PATH=/usr/bin
|
|
FLAGS=""
|
|
|
|
options=$(getopt -o ds:Q:e:hc: -l debian,systemd:,qemu-path:,exportdir:,help,credential: -- "$@")
|