board/bsh/imx8mn-bsh-smm-s2-pro: exit post-build.sh on error
PATCH 1/1 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.
--- board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh | 2 ++ 1 file changed, 2 insertions(+)
board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh +2 -0
@@ -1,4 +1,6 @@ #!/bin/sh +set -eu + BOARD_DIR="$(dirname $0)" PARTUUID="$($HOST_DIR/bin/uuidgen)"
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 5 lines · Dario Binacchi
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 <[email protected]>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Perale via buildroot
AppliedIn reply of:
Quoted 5 lines
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 <[email protected]>
Applied to 2025.02.x & 2025.11.x. Thanks
Quoted 22 lines
--- board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh | 2 ++ 1 file changed, 2 insertions(+)board/bsh/imx8mn-bsh-smm-s2-pro/post-build.sh +2
-0@@ -1,4 +1,6 @@ #!/bin/sh +set -eu + BOARD_DIR="$(dirname $0)" PARTUUID="$($HOST_DIR/bin/uuidgen)"Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot