From 3082436ff1667ae5f70581e2854877aa40ff3209 Mon Sep 17 00:00:00 2001 From: Dario Binacchi Date: Sat, 24 Jan 2026 16:44:06 +0100 Subject: [PATCH] board/bsh/imx6ulz-bsh-smm-m2: 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 (cherry picked from commit 374f5b66cbecf0254cf1b50ee106a15011d527b7) Signed-off-by: Thomas Perale --- board/bsh/imx6ulz-bsh-smm-m2/post-build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/bsh/imx6ulz-bsh-smm-m2/post-build.sh b/board/bsh/imx6ulz-bsh-smm-m2/post-build.sh index eac82cc22a..4a9bc1cfd5 100755 --- a/board/bsh/imx6ulz-bsh-smm-m2/post-build.sh +++ b/board/bsh/imx6ulz-bsh-smm-m2/post-build.sh @@ -1,4 +1,6 @@ #!/bin/sh +set -eu + BOARD_DIR="$(dirname "$0")" cp "${BOARD_DIR}/nand-full.lst" "${BINARIES_DIR}"