Skip to contentSkip to conversation

board/stmicroelectronics/stm32f769-disco: exit post-build.sh on error

PATCH Applied Dario Binacchi 2 participants 3 messages Jan 24 – Feb 6 Arm STM32

lore
Share & tools
lore
#0 lore raw

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
index 45100509411b..293bf30cb3ff 100755
@@ -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
#2 lore raw
In reply to Dario Binacchi

In 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.

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
index 45100509411b..293bf30cb3ff 100755
@@ -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

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot