mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
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>
(cherry picked from commit 1a813ba4ee)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
committed by
Thomas Perale
parent
397572b04a
commit
45f51fde13
@@ -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)"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user