From nobody Sun May 12 20:01:05 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=1638194181; cv=none; d=zohomail.com; s=zohoarc; b=K5Mmc/WddHXR1hqIE39fBW8HSFvCJ8VkRwwHBQ6AE8A6OIf+JFuy5ZUw+GFw5QBDF4NED44kqW3qwIXRBXO3DnQOB54gHhioaaw2IRrAjjg396ARZ05cEhQ8Mx8jxDlZuIO6Tch3NJ6mekTya+/ndxiSaYF8Z4hIQLKaw6z/Juw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1638194181; 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=iqpoKazBX1gxmupYcru93ar2fqVBSeGBPM/7KOmzjIw=; b=c/+MBwFFi9dAy/qsmoHhq4VZRSePPtJ4VS68nfOonL7Rv/MqQVvfry3jVrSaF/FVe/WqS+jTEUmYJJP3PghgJyu5bTyU9R3ign7g9MZTbKr1EiumkFvSoDQbqwvv3Vea0gnhLRkshoWcYxgtc3aikIxQ8x4uiFbH5yA5r0qDNu0= 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) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1638194181270717.9604975591534; Mon, 29 Nov 2021 05:56:21 -0800 (PST) Received: from localhost ([::1]:34204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mrh8k-000325-Qq for importer@patchew.org; Mon, 29 Nov 2021 08:56:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49620) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrh49-0003hI-Aj for qemu-devel@nongnu.org; Mon, 29 Nov 2021 08:51:34 -0500 Received: from smtp-out2.suse.de ([195.135.220.29]:47498) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mrh44-000318-Lb for qemu-devel@nongnu.org; Mon, 29 Nov 2021 08:51:31 -0500 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id E01131FCA1; Mon, 29 Nov 2021 13:51:22 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 9B5FF13B08; Mon, 29 Nov 2021 13:51:22 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id yiUFJNrapGHCbAAAMHmgww (envelope-from ); Mon, 29 Nov 2021 13:51:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1638193882; 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=iqpoKazBX1gxmupYcru93ar2fqVBSeGBPM/7KOmzjIw=; b=E6Rur0oW+ounVmN/zRt1RRz7VXVgC2Yf4trQK82D6+Tr2vARyE+kCi25cf8ayotx4ShQfB FoTRPTb0N3Yvmo1hByhv4sf375hpfkV1ZOMK1YTpwaWzjh0M/YrCru3WX3BwPKA8i8jJbd q36awKtCrAbSpFqw5h73uwwiA4aVgiA= From: mwilck@suse.com To: Laurent Vivier Cc: qemu-devel@nongnu.org, =?UTF-8?q?Jos=C3=A9=20Ricardo=20Ziviani?= , Claudio Fontana , Martin Wilck Subject: [PATCH resend v2] qemu-binfmt-conf.sh: fix -F option Date: Mon, 29 Nov 2021 14:51:00 +0100 Message-Id: <20211129135100.3934-1-mwilck@suse.com> X-Mailer: git-send-email 2.33.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.29; envelope-from=mwilck@suse.com; helo=smtp-out2.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, 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.29 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) X-ZM-MESSAGEID: 1638194185248100001 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 Reviewed-by: Laurent Vivier --- previous: https://lists.gnu.org/archive/html/qemu-devel/2021-09/msg03132.ht= ml ref: https://bugzilla.opensuse.org/show_bug.cgi?id=3D1186256 --- scripts/qemu-binfmt-conf.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/qemu-binfmt-conf.sh b/scripts/qemu-binfmt-conf.sh index 7de996d536..e9bfeb94d3 100755 --- a/scripts/qemu-binfmt-conf.sh +++ b/scripts/qemu-binfmt-conf.sh @@ -340,7 +340,9 @@ 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: -- "$@") +_longopts=3D"debian,systemd:,qemu-path:,qemu-suffix:,exportdir:,help,crede= ntial:,\ +persistent:,preserve-argv0:" +options=3D$(getopt -o ds:Q:S:e:hc:p:g:F: -l ${_longopts} -- "$@") eval set -- "$options" =20 while true ; do --=20 2.33.1