Skip to contentSkip to conversation

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

Buildroot Thomas Perale via buildroot 1 participant 1 message Feb 4 Arm STM32

lore
Share & tools
lore
#0 lore raw

commit: https://gitlab.com/buildroot.org/buildroot/-/commit/494a7d391b19299e26f613833facb86f27c3b2c9
branch: https://gitlab.com/buildroot.org/buildroot/-/tree/2025.02.x

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.

(cherry picked from commit 42411aa324f5e70dc42e9b83824cb8758207158a)
---
 board/stmicroelectronics/stm32f769-disco/post-build.sh | 2 ++
 1 file changed, 2 insertions(+)
board/stmicroelectronics/stm32f769-disco/post-build.sh +2 -0
index 4510050941..293bf30cb3 100755
@@ -1,4 +1,6 @@
 #!/bin/sh
+set -eu
+
 BOARD_DIR="$(dirname "$0")"
 
 # Kernel is built without devpts support

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