From nobody Sat Apr 27 16:05:52 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; 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=fail(p=none dis=none) header.from=siemens.com ARC-Seal: i=1; a=rsa-sha256; t=1616509452; cv=none; d=zohomail.com; s=zohoarc; b=hmZ5RfBsPYaHd1evJvcckUi4JEdQrFdv3aSMm70m+QHgMB4Oo/dTpfe68cVmRm4WnMKfUbOL3b3hpx84I6FDfMId0SEUdtGXQMtl3zsyqYJgrpIRa47KbpLYNBND6StGLC3//jFIIBRAoGH6Hu2U+GqJEOEIo6vl57mTP9euh8k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1616509452; 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=lwDTlE3FNpAahj7jrNPR+JpRBpE4LQjYVP3eBaGZCgY=; b=gg3lV9foUfOCLoj55ZnvslHDolgv/pXtVHHxkHZnn8scnezzcPYvTJa0KhX72pEQt4biaX/nvUrgZNUdg0l5kDkCy9ZdvFcs2iTQxfB1+f8vVwqP60K6pP53YwfaA6UXlu6QcTIgayzPCpC5RqiL59QDPhaYQ3BSg64QQWxHO0s= ARC-Authentication-Results: i=1; mx.zohomail.com; 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=fail header.from= (p=none 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 1616509452747453.87522902024136; Tue, 23 Mar 2021 07:24:12 -0700 (PDT) Received: from localhost ([::1]:59726 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lOhx6-0003uj-3s for importer@patchew.org; Tue, 23 Mar 2021 10:24:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44892) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOgKR-0001MK-6m; Tue, 23 Mar 2021 08:40:11 -0400 Received: from gecko.sbs.de ([194.138.37.40]:38520) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lOgKO-0004Qc-9u; Tue, 23 Mar 2021 08:40:10 -0400 Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by gecko.sbs.de (8.15.2/8.15.2) with ESMTPS id 12NCe26d007304 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 23 Mar 2021 13:40:03 +0100 Received: from md1sf36c.ad001.siemens.net ([167.87.44.205]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id 12NCYvuc019365; Tue, 23 Mar 2021 13:34:57 +0100 From: Silvano Cirujano Cuesta To: qemu-devel@nongnu.org Subject: [PATCH v1] scripts: fix generation update-binfmts templates Date: Tue, 23 Mar 2021 13:34:57 +0100 Message-Id: <20210323123457.23747-1-silvano.cirujano-cuesta@siemens.com> X-Mailer: git-send-email 2.30.2 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=194.138.37.40; envelope-from=silvano.cirujano-cuesta@siemens.com; helo=gecko.sbs.de X-Spam_score_int: -68 X-Spam_score: -6.9 X-Spam_bar: ------ X-Spam_report: (-6.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, 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-Mailman-Approved-At: Tue, 23 Mar 2021 10:23:20 -0400 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: , Cc: qemu-trivial@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" This patch fixes the update-binfmts templates being used in the script scripts/qemu-binfmt-conf.sh when the option --debian is used. Fixed issues are: - Typo in flag 'credentials' (previously 'credential'). - Missing flags 'preserve' and 'fix_binary'. Reference: https://manpages.debian.org/buster/binfmt-support/update-binfmts= .8.en.html#FORMAT_FILES Signed-off-by: Silvano Cirujano Cuesta Reviewed-by: Laurent Vivier --- 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 573b5dc6ac..7de996d536 100755 --- a/scripts/qemu-binfmt-conf.sh +++ b/scripts/qemu-binfmt-conf.sh @@ -294,7 +294,9 @@ package qemu-$cpu interpreter $qemu magic $magic mask $mask -credential $CREDENTIAL +credentials $CREDENTIAL +preserve $PRESERVE_ARG0 +fix_binary $PERSISTENT EOF } =20 --=20 2.30.2