[1/1] board/stmicroelectronics/stm32f469-disco: exit post-build.sh on error

Message ID 20260124153803.1077707-1-dario.binacchi@amarulasolutions.com
State New
Headers show
Series
  • [1/1] board/stmicroelectronics/stm32f469-disco: exit post-build.sh on error
Related show

Commit Message

Dario Binacchi Jan. 24, 2026, 3:38 p.m. UTC
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 <dario.binacchi@amarulasolutions.com>
---
 board/stmicroelectronics/stm32f469-disco/post-build.sh | 2 ++
 1 file changed, 2 insertions(+)

Comments

'Julien Olivain' via Amarula Linux Jan. 25, 2026, 9:48 p.m. UTC | #1
On 24/01/2026 16:38, Dario Binacchi wrote:
> 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 <dario.binacchi@amarulasolutions.com>

Applied to master, thanks.

To unsubscribe from this group and stop receiving emails from it, send an email to linux-amarula+unsubscribe@amarulasolutions.com.

Patch

diff --git a/board/stmicroelectronics/stm32f469-disco/post-build.sh b/board/stmicroelectronics/stm32f469-disco/post-build.sh
index 03e9dcae8215..74c59fdb72dd 100755
--- a/board/stmicroelectronics/stm32f469-disco/post-build.sh
+++ b/board/stmicroelectronics/stm32f469-disco/post-build.sh
@@ -1,4 +1,6 @@ 
 #!/bin/sh
+set -eu
+
 BOARD_DIR="$(dirname "$0")"
 
 install -m 0644 -D "${BOARD_DIR}"/extlinux.conf "${TARGET_DIR}"/boot/extlinux/extlinux.conf