From patchwork Sat Mar 23 17:44:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yueh-Shun Li X-Patchwork-Id: 1915224 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=smmj1Rlr; dkim=pass (2048-bit key; secure) header.d=posteo.net header.i=@posteo.net header.a=rsa-sha256 header.s=2017 header.b=H+9BUtGk; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=patchwork.ozlabs.org) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4V266s2DtZz1yXt for ; Sun, 24 Mar 2024 04:45:38 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=/ldEO+n1bBDG05t+5FSx1BqkhYCaDri73vSlnPxHKik=; b=smmj1RlrVrqJLnWTW7Ajexqy+d d5XSMx11bgv6bsuTR+o+KiczuxzX8wcyK/4wq3NzN0gZTflUcV/SheDatugIxp6IJWuKfA/KFAMd0 R/eZv1A94GMtXr0wp/6SGR4Yn5QXAJpkMAgx55EKDaPT4AFt0n17Hyxx4qcht09ND+HFl/g6aV3Ed nCwG6QNOeUA4MZYqEYcaDWj8LYqapZrMtoK4+PTwqa71JHMk6+T07lLdRIo0KjImfDtvIm1//PbTV PMslq8h8+7EDZb3tRL7eJJver2TYKVm8Et12h+etAWDtqKbxGu83dgJoU8Lmft0O9uh62OrG4OWLT ReauopWQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ro5Qs-0000000Aqjy-2Afa; Sat, 23 Mar 2024 17:45:26 +0000 Received: from mout02.posteo.de ([185.67.36.66]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ro5Qo-0000000Aqiy-1iZB for linux-um@lists.infradead.org; Sat, 23 Mar 2024 17:45:24 +0000 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 9948D240105 for ; Sat, 23 Mar 2024 18:45:15 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1711215915; bh=mAKeHSlYlC/WNK86vCepUm6fXPa8vRXSPBcHY+AH2vY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=H+9BUtGkmp4iY3MVqwcV17UUsFPV0Xmb/I74X3EoRIYMrFXXpPsDbICjakUOv+SFg qBT/U5qrgxYId/m5vNljIxp5gsCyYVFRBWodBRQ04o8cGQW1G5cPw5vNHpGQPlnguS FAQKBbesL6p4hkYu/hz6D38zK/O3DhyLbfenigxX1XyoSKykDlIvTht6ecK4IHgmb1 I7vucXnyprPnMxkriX7Li6XVTP8BQyHRY4UDRJbg47LUAindU78S7P0+T69SpInoy6 NPgEvmes5kHsCL9lQxvr7CEZutI5tIpKkmZ9L8qR3iPTMN+GLxw5w0CfQRKQATv3FP dikMPp8tcDWyA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4V266H52Wwz9rxB; Sat, 23 Mar 2024 18:45:11 +0100 (CET) From: Yueh-Shun Li To: Richard Weinberger , Anton Ivanov , Johannes Berg Cc: Yueh-Shun Li , linux-um@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] um: Makefile: use bash from the environment Date: Sat, 23 Mar 2024 17:44:25 +0000 Message-ID: <20240323174450.18376-1-shamrocklee@posteo.net> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240323_104522_622740_3A6A5E3E X-CRM114-Status: UNSURE ( 9.29 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.5 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Set Makefile SHELL to bash instead of /bin/bash for better portability. Some systems do not install binaries to /bin, and therefore do not provide /bin/bash. This includes Linux distros which intentionally avoid implementing the Filesystem Hierarchy Standard (FHS), such a [...] Content analysis details: (-2.5 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [185.67.36.66 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [185.67.36.66 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-um@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-um" Errors-To: linux-um-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org Set Makefile SHELL to bash instead of /bin/bash for better portability. Some systems do not install binaries to /bin, and therefore do not provide /bin/bash. This includes Linux distros which intentionally avoid implementing the Filesystem Hierarchy Standard (FHS), such as NixOS and Guix System. The recipies inside arch/um/Makefile don't require top-level Bash to build, and setting "SHELL" to "bash" makes Make pick the Bash executable from the environment, hence this patch. Changes since last roll: - Rebase onto a more recent commit on the master branch. - Remove a dangling in-text citation from the change log. - Reword the change log. Signed-off-by: Yueh-Shun Li Reviewed-by: Johannes Berg