1
0
mirror of https://github.com/home-assistant/operating-system.git synced 2025-12-25 04:45:45 +00:00

Fix build without device tree overlays (#2467)

This commit is contained in:
Stefan Agner
2023-04-13 07:38:43 +02:00
committed by GitHub
parent a6894512dd
commit bea888f8db

View File

@@ -19,7 +19,7 @@ function hassos_pre_image() {
else
cp "${BOARD_DIR}/../cmdline.txt" "${BOOT_DATA}/cmdline.txt"
fi
cp "${BINARIES_DIR}"/*.dtbo "${BOOT_DATA}/overlays/"
cp "${BINARIES_DIR}"/*.dtbo "${BOOT_DATA}/overlays/" 2>/dev/null || true
# EEPROM update for Raspberry Pi 4/Compute Module 4
if grep -Eq "^BR2_PACKAGE_RPI_EEPROM=y$" "${BR2_CONFIG}"; then