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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ function hassos_pre_image() {
else else
cp "${BOARD_DIR}/../cmdline.txt" "${BOOT_DATA}/cmdline.txt" cp "${BOARD_DIR}/../cmdline.txt" "${BOOT_DATA}/cmdline.txt"
fi 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 # EEPROM update for Raspberry Pi 4/Compute Module 4
if grep -Eq "^BR2_PACKAGE_RPI_EEPROM=y$" "${BR2_CONFIG}"; then if grep -Eq "^BR2_PACKAGE_RPI_EEPROM=y$" "${BR2_CONFIG}"; then