mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-27 15:06:29 +00:00
Fix build without device tree overlays (#2467)
This commit is contained in:
parent
63f57a6ab2
commit
addbfe6d7e
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user