mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
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 <dario.binacchi@amarulasolutions.com> Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
committed by
Julien Olivain
parent
7cedf74c17
commit
3c8ecc05c6
@@ -1,4 +1,5 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
# Busybox is built without network support
|
||||
sed -i '/hostname/d' ${TARGET_DIR}/etc/inittab
|
||||
|
||||
Reference in New Issue
Block a user