Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 24D6BC433E0 for ; Mon, 29 Jun 2020 13:34:52 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E95E023D98 for ; Mon, 29 Jun 2020 13:34:51 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E95E023D98 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=citrix.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jptva-0006lH-8u; Mon, 29 Jun 2020 13:34:30 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1jptvZ-0006lC-It for xen-devel@lists.xenproject.org; Mon, 29 Jun 2020 13:34:29 +0000 X-Inumbo-ID: 411fbbda-ba0d-11ea-bb8b-bc764e2007e4 Received: from esa3.hc3370-68.iphmx.com (unknown [216.71.145.155]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 411fbbda-ba0d-11ea-bb8b-bc764e2007e4; Mon, 29 Jun 2020 13:34:28 +0000 (UTC) Authentication-Results: esa3.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none IronPort-SDR: 2mQVr80Hqteu/U4L0F00N2/ZXrAA1kSi7Vfl8ESmr15CM8oJ5WIsJzxs4mF5AluKPB1icZZPNL eIswkUW/5mxZ01J3Zso5qQHusmNJX3U6acsUHqCPMqWk7dDLyO+dPu8MJqZG91H9a4gACOANl/ ENMPsa3xCc/8rimKeIGEeMILi8iXuZ/0kQMghzK6LP+imVcvjUy/Es5Iz5tq0AGo6fKQxNOykq YHnOfXeKiTevRW0W2VIX0IIoJ6cF0GHWf1x5V3veMr9wFYAg1iyAS+jNB4r7ujb3dyzzR6GckT BwY= X-SBRS: 2.7 X-MesageID: 21168238 X-Ironport-Server: esa3.hc3370-68.iphmx.com X-Remote-IP: 162.221.158.21 X-Policy: $RELAYED X-IronPort-AV: E=Sophos;i="5.75,294,1589256000"; d="scan'208";a="21168238" From: Ian Jackson MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-ID: <24313.60895.220354.223207@mariner.uk.xensource.com> Date: Mon, 29 Jun 2020 14:34:23 +0100 To: Andrew Cooper Subject: [PATCH] tools/configure: drop BASH configure variable In-Reply-To: <20200626170038.27650-1-andrew.cooper3@citrix.com> References: <20200626170038.27650-1-andrew.cooper3@citrix.com> X-Mailer: VM 8.2.0b under 24.5.1 (i686-pc-linux-gnu) X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Xen-devel , Daniel De Graaf , Wei Liu , Paul Durrant Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" Andrew Cooper writes ("[PATCH] tools/configure: drop BASH configure variable"): > This is a weird variable to have in the first place. The only user of it is > XSM's CONFIG_SHELL, which opencodes a fallback to sh, and the only two scripts > run with this are shebang sh anyway, so don't need bash in the first place. Thanks for this cleanup. I agree with the basic idea. However, did you run these scripts with dash, or review them, to check for bashisms ? It is not unusual to find scripts which need bash but which mistaken have #!/bin/sh - especially if the usual arrangements for running them always use bash anyway. So the presence of the #!/bin/sh is only rather weak evidence that these scripts will be fine when run with sh. > Make the mkflask.sh and mkaccess_vector.sh scripts executable, drop the > CONFIG_SHELL, and drop the $BASH variable to prevent further use. Since the build currently uses bash for these, a more neutral change would be to change to #!/bin/bash at the same time. > RFC for 4.14. This is a cleanup to the build system. I see this already has a release-ack. However, I would not have recommended granting one at least on the basis of the description above. I agree that this is cleanup. But the current situation is not buggy. I'm not sure exactly what the release criteria are but ISTM that this patch adds risk to the release rather than removing it. Thanks for your attention. Ian.