From nobody Tue May 14 21:13:40 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=quarantine dis=none) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1621438083; cv=none; d=zohomail.com; s=zohoarc; b=ADmkZi3wb+QqDS+rwUFfwrfBBTtAADCcD2TIOxvMSPH0EdmA4weNN9+1n1m/3NKCYLKpr1BKys/YzYuRb+wfFqKSmCgCHrIz6LGdPGfZTwIxtCm6lPSYvQf27tBShBi3qgkJ0UXNbsOBGBkd7zD1vEcpiOPb1S1c9ZgFjMqFeP0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1621438083; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=I8JhVWVz6KyBXk7bAPgVzdfokz0q7ya5EdUcoFPkKgI=; b=l3cCN2oY0dBBQ/lXmzLXuQqRzUGXf0LOVtwgEOJDc+bco5ys1hNKJaL43zVoTVqnFjcELTQH+IJ+F2yZWardgbpVeOLWZPzFRmpssj/YrfhFuG3kePIIXCuAaxLfK6Apa1SkQfUssidcwSZ0VqBwKz6LK42/orPW6VYLWhmgJK8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=quarantine dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1621438083070543.1804941644682; Wed, 19 May 2021 08:28:03 -0700 (PDT) Received: from localhost ([::1]:41996 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ljO77-0002Cu-3v for importer@patchew.org; Wed, 19 May 2021 11:28:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44508) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ljO5E-0000p3-0O for qemu-devel@nongnu.org; Wed, 19 May 2021 11:26:05 -0400 Received: from mx2.suse.de ([195.135.220.15]:52962) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ljO5B-00059Q-Gq for qemu-devel@nongnu.org; Wed, 19 May 2021 11:26:03 -0400 Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id DB4D5B172; Wed, 19 May 2021 15:25:57 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1621437957; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=I8JhVWVz6KyBXk7bAPgVzdfokz0q7ya5EdUcoFPkKgI=; b=ByLOj/TAoEaaeTjEHScooTJPDHNIP/Aa0A0cKNq4i9UaS5S43JzntRVAF5oxz0hqSjflPw Thd8SymSYorv/GfeySdpwfmIk/p36Cnv7vMLXA3/zJT6elrw80cLqEb9TwIEf2KitqDdCQ DGXVH3SbQWIKP7mmjmWC+58MqOiWLnQ= From: mwilck@suse.com To: Laurent Vivier , qemu-devel@nongnu.org Cc: Martin Wilck Subject: [PATCH] qemu-binfmt-conf.sh: fix -F option Date: Wed, 19 May 2021 17:25:41 +0200 Message-Id: <20210519152541.30625-1-mwilck@suse.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=195.135.220.15; envelope-from=mwilck@suse.com; helo=mx2.suse.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @suse.com) Content-Type: text/plain; charset="utf-8" From: Martin Wilck qemu-binfmt-conf.sh should use "-F" as short option for "--qemu-suffix". Fix the getopt call to make this work. Signed-off-by: Martin Wilck --- 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 fb504a4..29ea33b 100755 --- a/scripts/qemu-binfmt-conf.sh +++ b/scripts/qemu-binfmt-conf.sh @@ -338,7 +338,7 @@ PERSISTENT=3Dno PRESERVE_ARG0=3Dno QEMU_SUFFIX=3D"" =20 -options=3D$(getopt -o ds:Q:S:e:hc:p:g: -l debian,systemd:,qemu-path:,qemu-= suffix:,exportdir:,help,credential:,persistent:,preserve-argv0: -- "$@") +options=3D$(getopt -o ds:Q:S:e:hc:p:g:F: -l debian,systemd:,qemu-path:,qem= u-suffix:,exportdir:,help,credential:,persistent:,preserve-argv0: -- "$@") eval set -- "$options" =20 while true ; do --=20 2.31.1