From 3c8ecc05c6b1c30141808910653dc109a27835cc Mon Sep 17 00:00:00 2001 From: Dario Binacchi Date: Sat, 24 Jan 2026 16:23:11 +0100 Subject: [PATCH] board/stmicroelectronics/stm32f4xx: 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 Signed-off-by: Julien Olivain --- board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh b/board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh index 4fcce61500..2c5b6be098 100755 --- a/board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh +++ b/board/stmicroelectronics/common/stm32f4xx/stm32-post-build.sh @@ -1,4 +1,5 @@ #!/bin/sh +set -eu # Busybox is built without network support sed -i '/hostname/d' ${TARGET_DIR}/etc/inittab