From patchwork Wed Jun 27 20:53:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 935720 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 41GFfg2XLbz9s19 for ; Thu, 28 Jun 2018 07:00:11 +1000 (AEST) Received: from localhost ([::1]:33192 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYHXt-0000Cu-22 for incoming@patchwork.ozlabs.org; Wed, 27 Jun 2018 17:00:09 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fYHSC-0004bo-2e for qemu-devel@nongnu.org; Wed, 27 Jun 2018 16:54:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fYHS9-0004Aq-0I for qemu-devel@nongnu.org; Wed, 27 Jun 2018 16:54:16 -0400 Received: from mout.kundenserver.de ([212.227.126.131]:42028) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fYHS8-00049Y-Kd for qemu-devel@nongnu.org; Wed, 27 Jun 2018 16:54:12 -0400 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue007 [212.227.15.167]) with ESMTPSA (Nemesis) id 0LjPsy-1g9X4b3EpE-00baK1; Wed, 27 Jun 2018 22:53:38 +0200 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Wed, 27 Jun 2018 22:53:17 +0200 Message-Id: <20180627205317.10343-4-laurent@vivier.eu> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180627205317.10343-1-laurent@vivier.eu> References: <20180627205317.10343-1-laurent@vivier.eu> X-Provags-ID: V03:K1:h/N+liOJteyC+ggRh8QvTGglGRQPFlJMO9nN1XPpQlcNCkcLN2+ NnDPwQd+iSzd+FxITsaeGtSt3BOmfz1ItEZmAT9l09W5HtQKv5S88fWLMnWXsb7xRydx/F4 eROc5vlt7kfYguX5lrrHWUgBHeDfkGXu3Fs/XVskv8BZne0MDyWttR85lBkz9oXD16L6xvd 9iZY1P3ixr/ypqH4zwMIg== X-UI-Out-Filterresults: notjunk:1; V01:K0:zRKVY0phjuA=:TpJ4CEum5GGi5QsTPeWwo1 +Z1q8Do8zxp+qlqGQFPyg0vY9iJcbiJI/1KhV/op4iIqUZQ4qUomwlie6mmpKuKmDPmh3FYKV HJEW7BmGkLQtj2pjad2YJqf4MlUcxGayIHWvLQrLedEXjpYTbSeeGJZaCh5n1bwew8TVD1uFs 5h8qCsp1wWx3cDCAuojWQk/QEPou6l5UEtlSdM8DpsppCv95Uv02+tZH/u1wjxJEBqU2goeth CD2Mlr+l53cSCfAoBG/v7dmiRwpmCeFkbmNiZ07nN9t8Lj5XXgOxbQw6K29sO6iDYXcr4X5gd VYqyoKy6FuMoy3CMznB2tSwLh3yXYYoQIrha9eudcMZ2YNSN2DRhjN0sDvvueYbyJKI9RxmhC HJu+aXWih/sdrWcru9Fnacn0mNuLub8bbLY7Idmq7pwOib8QKtkOQWB8VK45RhwB1lR1Chkgu yTcN6xPVDuzNFTiqQjyvW3/PFNX6glF16PVQZzU8rug5MQHf0X8eNH/tums2bBPXyFK3cOO0c lMMjzHmK6Ttc6dnuVRkBA6CtJ/dEiJqnaxx5ubPZ3IS+i8elrLHzOsnB4rkdH7X8AKmK3VH3+ /Xj49Og2DJ+bMoaQhE6dQnpPxxBG89EkvrqB/+GkaRkk275xa+Ethk9VxKuz4Ap/zsYk89Oh6 wndabp/Ys+HMQahkWPFu+DNfF6BmyVJtNumwwgwXO2EEyA52JMtQTYcLvIOIbKVGZro4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.126.131 Subject: [Qemu-devel] [PATCH 3/3] 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 --- 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 <