Fix build without device tree overlays (#2467)

This commit is contained in:
Stefan Agner 2023-04-13 07:38:43 +02:00
parent 63f57a6ab2
commit addbfe6d7e
No known key found for this signature in database
GPG Key ID: 22D95D15D3A36E95

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