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 <dario.binacchi@amarulasolutions.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Dario Binacchi
2026-01-24 16:41:45 +01:00
committed by Julien Olivain
parent 6b5c202856
commit 1a813ba4ee

View File

@@ -1,4 +1,6 @@
#!/bin/sh #!/bin/sh
set -eu
BOARD_DIR="$(dirname $0)" BOARD_DIR="$(dirname $0)"
PARTUUID="$($HOST_DIR/bin/uuidgen)" PARTUUID="$($HOST_DIR/bin/uuidgen)"