From patchwork Thu Apr 11 00:27:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zev Weiss X-Patchwork-Id: 42200 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3E8F3CD1297 for ; Thu, 11 Apr 2024 00:28:03 +0000 (UTC) Received: from thorn.bewilderbeest.net (thorn.bewilderbeest.net [71.19.156.171]) by mx.groups.io with SMTP id smtpd.web10.6102.1712795274079256603 for ; Wed, 10 Apr 2024 17:27:54 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@bewilderbeest.net header.s=thorn header.b=fC8QKHBE; spf=pass (domain: bewilderbeest.net, ip: 71.19.156.171, mailfrom: zev@bewilderbeest.net) Received: from hatter.bewilderbeest.net (unknown [IPv6:2602:61:712b:6300::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: zev) by thorn.bewilderbeest.net (Postfix) with ESMTPSA id 9BCE777D; Wed, 10 Apr 2024 17:27:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bewilderbeest.net; s=thorn; t=1712795273; bh=65GGx1QpnvI3lHrxY4FZBOPcE11YXigukyX++z/Fa0k=; h=From:To:Cc:Subject:Date:From; b=fC8QKHBEA1yIJIIKZ57SjN3vZQTAbzpCVLaUwwdxai72yDtoEOxKjwScndQlPwz0k mBs80a+GBThjDe33Gh8bhP/pmaRd8Fq4kxDnFMWdC5DJzllKVbQkRX+nD12rzMGKTQ VSgbI2ZRUvf6YY5ThOnPfRZH+bCj6XC2KmhtTxbU= From: Zev Weiss To: openembedded-core@lists.openembedded.org Cc: Zev Weiss , openbmc@lists.ozlabs.org Subject: [OE-core][PATCH] bash: Fix file-substitution error-handling bug Date: Wed, 10 Apr 2024 17:27:26 -0700 Message-ID: <20240411002728.15983-1-zev@bewilderbeest.net> X-Mailer: git-send-email 2.44.0 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 11 Apr 2024 00:28:03 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/198110 This is part of a patch that's been upstream for a while but hasn't yet been released. The bug is causing some downstream difficulties, so a local patch to tide us over until the next release makes things a bit easier. Signed-off-by: Zev Weiss --- .../bash/bash/fix-filesubst-errexit.patch | 33 +++++++++++++++++++ meta/recipes-extended/bash/bash_5.2.21.bb | 1 + 2 files changed, 34 insertions(+) create mode 100644 meta/recipes-extended/bash/bash/fix-filesubst-errexit.patch diff --git a/meta/recipes-extended/bash/bash/fix-filesubst-errexit.patch b/meta/recipes-extended/bash/bash/fix-filesubst-errexit.patch new file mode 100644 index 000000000000..9ef1394e74c4 --- /dev/null +++ b/meta/recipes-extended/bash/bash/fix-filesubst-errexit.patch @@ -0,0 +1,33 @@ +From 59ddfda14e3c9aa6286bb4c4c0748f7c1324a65a Mon Sep 17 00:00:00 2001 +From: Chet Ramey +Date: Fri, 7 Apr 2023 00:28:46 -0700 +Subject: [PATCH] $(