From 1a813ba4ee24429ab617d179d3b5efe6010333b2 Mon Sep 17 00:00:00 2001 From: Dario Binacchi Date: Sat, 24 Jan 2026 16:41:45 +0100 Subject: [PATCH] board/bsh/imx8mn-bsh-smm-s2-pro: exit post-build.sh on error 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 Signed-off-by: Julien Olivain --- board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh b/board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh index bf8861f6a9..9306df3f3f 100755 --- a/board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh +++ b/board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh @@ -1,4 +1,6 @@ #!/bin/sh +set -eu + BOARD_DIR="$(dirname $0)" PARTUUID="$($HOST_DIR/bin/uuidgen)"