From patchwork Sat Jan 24 15:29:41 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 4443 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id BEDCE3F9F7 for ; Sat, 24 Jan 2026 16:29:53 +0100 (CET) Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-432db1a9589sf2564594f8f.0 for ; Sat, 24 Jan 2026 07:29:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1769268593; cv=pass; d=google.com; s=arc-20240605; b=KNQP7OHTkOe+vqzCZGY0bf7V6QQ8siEBTOdRDEaDFuVQ6ZGZI2obizGKV2xlsBqj5p epswJquIRbcoKQwmZei5C96MX4Y9Me64O3lR749nn1bAle6Pz2P+8XVMWUBOCe/lzxWn ZyU7ZvpSllr2qgMJJEs8QS8B1BD1c8SBDhngJBfTzY+8h+2uhNtjlbSSQejpR5P7cH5m IYkRQOLvIi0/9LKlRRlm1ZXDAZklfQxQFuGht3cVm01mp4chwa9I21kp7BTgQQLxxpiD 4gzlph7mV08nZw7fkRb/xZsIFXf1dNYOvkBr6e27i3YZ91HCV8dOsx+xJbEKlUxE7yJB EjKQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=yGrr3OuipGS6hxjaRXE/i673nD03UdJeGQ5jYrtAOYo=; fh=+RblJPx7jeUeinz1SOrMIHZSxBHTODM+cY+IUmrruMM=; b=eD1UoR624zmwf4W8swW7dzhGMetjQOO/CpgB3T1noIW5Ex8+L27D+k3c9EuaY0i9n/ oOYxoAzTJ1tPpmC4HwbouMijucutb/arEifE14hvcf4xHScW+kTV/ZtYbi9knkgDsYeN YjQyn0cu+f8jr4tX2I9Vr2w43mOgLtWQ1xdrQGo2FtbiAAGRsqRvhsVbvxhT7rnB6UUb qstMncg0K8M7OFi/CEDRfjpQN9ZpGU1F3sJ70bFr5uf+NFwRx32j/1VQW6BR4gDqe/SE +TNYjgAUReeKD3w265glav/j9DYjZKdHqltNszFo/CrGas8k6lINZ3s40kpZj3vqT2mk dnNQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ilwoxset; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=neutral header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1769268593; x=1769873393; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=yGrr3OuipGS6hxjaRXE/i673nD03UdJeGQ5jYrtAOYo=; b=gFeIq/pvPrj/mw1F8kr/IDQ+yRmcqwseLLIGezCGdyBsp2FRiPxlio2D8vvZ8b572v muWr/yeYiwgTJwGMmrpE1L8647FbjLIZvLKybgi69JzlFxUoYKdukzRsI+13Nu6wjEES 9MOodar5AcEYBGU9ogtdLoqtt2l6kmnGrWHGc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769268593; x=1769873393; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yGrr3OuipGS6hxjaRXE/i673nD03UdJeGQ5jYrtAOYo=; b=Uvp99eGMlKIbvn+BJjRNh4RXs2yfrspgX5BcoffYd6IDujtUgqszjtDwkggDCJnrcP 7JGJliUWtwyLJPL3x4llqwjPrkK/7Q9rDRB6/mgbOpWeC0Sz/AefNFbkfx0roCjKboLu w2VgJnNU+EzIcOTLD1Mnh5VVDcLnHMh5slYdwtQ5DiA6VsvdCSLCau/jytTaL62zqbhg 6yu7dm0I45AP+ugdWy/9qQgE8ceUobT/PIPbSgxFq4ZjUCBbGRLCyeu5wh9UC2XGIU6P Ae8ngkVsD43SCPDFtri7Zcts5X5xnBD9Tx4iVTbUmKdvYh9nn94A9iaatIz3STPOtz4B Vg4g== X-Forwarded-Encrypted: i=2; AJvYcCWNrUHHik8I5lMHKunKyNj9jQmQam7VbjB6B+RBRsxbFUComBDDnndbQkCh26imevsGQuEc5xMwBNdE9tlX@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0Yz9bpnmnRgyRKDrHeSv0Qc+4vZrLcZET4ScM1rn3ahB9gbL/1aO Vf9CkTKqO9E8EJ7bTr0gdI9OABVPpjGglIB2HjKAFXgqq56pxpAJOD7JR3p+g+Owc4qERg== X-Received: by 2002:a05:600c:34d0:b0:480:32da:f33e with SMTP id 5b1f17b1804b1-4804c9ae6a0mr107193345e9.17.1769268592986; Sat, 24 Jan 2026 07:29:52 -0800 (PST) X-BeenThere: linux-amarula@amarulasolutions.com; h="AV1CL+HjVRUXo+up0MSRQeS8dELNsol8LTVKbbXKst41s/7rhw==" Received: by 2002:a05:600c:1c1d:b0:477:5c4c:acc2 with SMTP id 5b1f17b1804b1-48047d4650els29717075e9.1.-pod-prod-08-eu; Sat, 24 Jan 2026 07:29:51 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVK0zrTTWie4hqKmL0hrg78JSM3Ude0MI1vzczYN2DUmn0182zEH+Wn8xi/Lm4BllhxzqQQUJKPNVM+Er5k@amarulasolutions.com X-Received: by 2002:a5d:5d0d:0:b0:435:a2f8:150d with SMTP id ffacd0b85a97d-435b1750380mr8965060f8f.59.1769268590731; Sat, 24 Jan 2026 07:29:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1769268590; cv=none; d=google.com; s=arc-20240605; b=H6uHwQOwNN5BrlZIHVEYCKMMFGSSnZKGzrUCTEiYPua52oWfj3+62u3I09csod+cqk aC79KOA9Yx+/SPgS0+b9I4mjbJEyJadFq3W4a7kKBzioYi/XgOyiDPgg6bs5QeBFbVXX bSfV0ntC2rI/qF5fUwYSV12dqnADWrooIu/zno5A1to4ZnXOueok0o1t4eEQetElmEq9 cX6slTmlPf37D7YFxX7WPjzx6Z3KBY6ALW/lU7z3YzONTf3CgGTEVtfS5L+r7nU1ozC2 G7LMvOJQS1a1Z+RF51q1ZbVXoV4gKn09u/3az1VssLRGo8PF5tVuJOAhG4TtfD0lBo5y p4GA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=n3Mlnte6gkZ+/x5T2ZdEnAe3+2rIH2zdeWdmhhKaKqc=; fh=Mn16nYwR6xMLCxZ/OW1FJQs8FjNND+vWOatMMo9Rbvc=; b=AnzHG7Q8Uo4Y0CCPgZjRR793qSh9kig1YOPrK0Ri6zN79dOrckX41G2vh54xIzwfSn +t8xqcXkBGefJ/8DWXzS5569GVKs2/s2twI2yfGKxXtHXuVftvm82fNF47BTNdfp+Vjp 2kfx9QO7cZ3bcbYH+az3Q5YZAdCKcSSNWtqMzmaKGaWIMPVaqympyCHywsHfzCoiDDr1 148mT/XmgQeuiDQrvt1iYHYjymyH/MxBhZAEXG6laYtR2chLCrM2jf6VauH0JPLAlwhy AW7akXJ5YrVunZ6R3z6nI/f4LhnFYD4laQhqY1bdu53be6KIiOYtJVSEzLVmaBp/Ch49 m6og==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ilwoxset; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=neutral header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id ffacd0b85a97d-435b1c08b87sor768021f8f.7.2026.01.24.07.29.50 for (Google Transport Security); Sat, 24 Jan 2026 07:29:50 -0800 (PST) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCUJiJsbwRjQ8kmPXoVnfy6w8ksgMTpqSffP60KakJLiLJm/zT2luuaNa4Nv7cUe3JNVs1LrSs9SwuWEZKDa@amarulasolutions.com X-Gm-Gg: AZuq6aKTfnpiKOQ8xar0sVNKmRSohyWpJvJ66F9hb4e+a0UbfU0sqWRfiFDTwFXd8sL Hd7ESfHbl5Xbp0hWQWcbmqrEYqy/jzNAc45HZyWg4YoYXaDdi8FIE+3W7rOJR/ZTEpga5CtxStP /4Kb2k5Rg2ko9Fw8icCYV1Xs2SXCrPI9xm6wigkUwgyC7N4DLLZvJ1PJW1JDj6SDkHpJ8TWhVYD YmrpDDG+kXy45FTI7dh0l0aix8+/hIW0kzipZQRsKYf2Jy1rLXpW8OTbhcWiCzKnPhZobRSFUvw At1xcizdiOO+MC2mSZ0j5VcaMizxSIsGYRmsBmItD1gx1ICwNcSZ1X2A+fl4Gk2cojbOQ/Bl9JE +Zm734+A7t/hTp6lYYn2K+P5UrqBvjh2AvS8UAt95yi6gZXvzm9XkCk8LXQC12tLJbMM06nBrNd md6n0tyzquqy1/69FFxR1xvb5wQK51tznMSFoYhtY4sdYJfWMZfab0HuY3p50BJqTR+ccCfTVzy KWmTHnBbhkQ3DJaKCVgsvm2UWKQnU9eeXsqEtzyWBXEmO1ruCvRT6qq7LMUSl8NPXPOziTYIxi9 xbRQENfduyQ= X-Received: by 2002:a05:600c:3b0d:b0:47b:deb9:f8a with SMTP id 5b1f17b1804b1-4804c9b736dmr91567025e9.30.1769268590332; Sat, 24 Jan 2026 07:29:50 -0800 (PST) Received: from dario-ThinkPad-P14s-Gen-5.homenet.telecomitalia.it (host-95-248-31-95.retail.telecomitalia.it. [95.248.31.95]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4804d4f8417sm53068395e9.2.2026.01.24.07.29.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Jan 2026 07:29:49 -0800 (PST) From: Dario Binacchi To: buildroot@buildroot.org Cc: Bryan Brattlof , linux-amarula@amarulasolutions.com, Dario Binacchi Subject: [PATCH 2/2] board/ti/common/am6xx: exit post-build.sh on error Date: Sat, 24 Jan 2026 16:29:41 +0100 Message-ID: <20260124152941.902168-2-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260124152941.902168-1-dario.binacchi@amarulasolutions.com> References: <20260124152941.902168-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=ilwoxset; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=neutral header.i=@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add 'set -eu' to ensure that command failures or unset variables are properly reported to the 'make' process. This prevents silent failures during the image generation phase. Signed-off-by: Dario Binacchi --- board/ti/common/am6xx/post-build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/board/ti/common/am6xx/post-build.sh b/board/ti/common/am6xx/post-build.sh index e3ff4d7f12ce..c32cfe25b299 100755 --- a/board/ti/common/am6xx/post-build.sh +++ b/board/ti/common/am6xx/post-build.sh @@ -1,4 +1,5 @@ #!/bin/sh +set -eu # genimage will need to find the extlinux.conf # in the binaries directory