From patchwork Tue Jul 3 16:34:47 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 938799 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=vivier.eu Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41Kqg52xwDz9s1B for ; Wed, 4 Jul 2018 02:42:57 +1000 (AEST) Received: from localhost ([::1]:41666 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1faOOF-0005Xd-02 for incoming@patchwork.ozlabs.org; Tue, 03 Jul 2018 12:42:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49605) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1faOGY-0007r8-9u for qemu-devel@nongnu.org; Tue, 03 Jul 2018 12:34:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1faOGU-0005aH-BY for qemu-devel@nongnu.org; Tue, 03 Jul 2018 12:34:58 -0400 Received: from mout.kundenserver.de ([212.227.126.130]:48403) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1faOGU-0005Zn-0X for qemu-devel@nongnu.org; Tue, 03 Jul 2018 12:34:54 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.167]) with ESMTPSA (Nemesis) id 0LdZfa-1g04Iu11hy-00ijmn; Tue, 03 Jul 2018 18:34:14 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Tue, 3 Jul 2018 18:34:47 +0200 Message-Id: <20180703163451.16936-4-laurent@vivier.eu> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180703163451.16936-1-laurent@vivier.eu> References: <20180703163451.16936-1-laurent@vivier.eu> X-Provags-ID: V03:K1:CWJvsw1f8UGP/tvZqZAhIIAfTjDu5iFth1PA/yBTR2zl8loM4V0 Xyxv67738FRaIrdNUDCjAeJZCj2cfRwlkT3CzMG2GtQEnKrrpF0O2JN9YRn2ngrvMOFLS2w znknV8TYjg96AaXxc9X9u8ugcClHiogRPpmDrxiXwEjE+rUpB+9WoaBJOaLUhiQsti/4sVn 04a0xVuiVgnFqfG5QBn9w== X-UI-Out-Filterresults: notjunk:1; V01:K0:jXTfF6SH6GE=:5/Ukp1XjcQfzGP7jeURwMu cFHICc+dx8cFK35UB1HxtSryfzua6JVVMrWxwZLpLreE4o7NiTsJT/c1n9tl2AUU9lGA7r6Oq bBsvdf9Ac9KxDlJky5ThypLqk8AEk5wluMAClhsFSyPrK8xUswaGFchHZztAxgj9og0PAHadr QMO6IsHiAurrEDmhm9CvS5p/dM5zjW0gJ45D3IhzU5B2a5nAT0VXSKYyvkU2eR4MLIfXWeF4L 31khBqRsQ/tLTd5+TFN1bYMCUOgMZRz1eCAUhpGnHpHHHR6Z7e0GdRK6L5fA9FJwstqCpyar2 mMbY0LT0EffWwV1JIKmx8/pGQ8NCCjcfVZwXZq5cI56+OTzgeLf5A8ywYu8222YtlsMPJnC9Q 2/7MsS/rLAQzvRzft+qF93DJ4B25+RY3c6821Da8uIas3yPFVoHm+Dubi9kktPjU4M24wZiI/ DRn6U7PHCwC2NNHSWTRuZgwdLoY6mgsmPhpUain5TQXW/uONcvUv8cyuP2s2R/Mbe4N7bD0Ka iRx3cfQs5f2OWOM8JEU3RcMAzRYl5bIxem5BuFU6qP4GiAcJkxWUnzUoLsD6z7F4qLHbNNx8K p3kmEHlAgWmxpzEJwteFu570ouCA2YnZFmT696zaeLIhMCGZ+oR6cyz8ADE90/y6bZm/TTF0L A1EGUb3bz4zEVZRn9Nc3Ro0Ta/6qzZq1sQ/SlRHsfq0Nkk4ZBAFrON8rtAAQtVK/Oopk= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.126.130 Subject: [Qemu-devel] [PULL 3/7] qemu-binfmt-conf.sh: allow to provide a suffix to the interpreter name X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Riku Voipio , Laurent Vivier Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" some distros provide a qemu-CPU-static binary beside the qemu-CPU one. This change allows to use it by providing "--qemu-suffix -static" to the script. Signed-off-by: Laurent Vivier Message-Id: <20180627205317.10343-4-laurent@vivier.eu> --- scripts/qemu-binfmt-conf.sh | 41 ++++++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 17 deletions(-) diff --git a/scripts/qemu-binfmt-conf.sh b/scripts/qemu-binfmt-conf.sh index 00c9c3aa16..23df00ae30 100755 --- a/scripts/qemu-binfmt-conf.sh +++ b/scripts/qemu-binfmt-conf.sh @@ -161,25 +161,26 @@ usage() { cat <