board/stmicroelectronics/stm32f769-disco: exit post-build.sh on error
PATCH 1/1 board/stmicroelectronics/stm32f769-disco: 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/stmicroelectronics/stm32f769-disco/post-build.sh | 2 ++ 1 file changed, 2 insertions(+)
board/stmicroelectronics/stm32f769-disco/post-build.sh +2 -0
@@ -1,4 +1,6 @@ #!/bin/sh +set -eu + BOARD_DIR="$(dirname "$0")" # Kernel is built without devpts support
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/stmicroelectronics/stm32f769-disco/post-build.sh | 2 ++ 1 file changed, 2 insertions(+)board/stmicroelectronics/stm32f769-disco/post-build.sh +2
-0@@ -1,4 +1,6 @@ #!/bin/sh +set -eu + BOARD_DIR="$(dirname "$0")" # Kernel is built without devpts supportSignature · 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