Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create empty overlays/README to fix DTB overlay loading on RPi 5 (#3107)
Since we're using a custom os_prefix for dual boot on RPi 5, overlays can be also present in different directories. Raspberry Pi's bootloader has a strange feature that it only respects os_prefix if the directory with overlays contains a README file: https://www.raspberrypi.com/documentation/computers/config_txt.html#overlay_prefix While rpi-firmware package touches the file when copying overlays to the destination directory, for RPi 5 we are using BR2_LINUX_KERNEL_INSTALL_INTREE_OVERLAYS option which does not copy or create it. Ensure it is present (no matter if we're using intree on rpi-firmware overlays) in the hassos-hook. Fixes #3079 (also removed invalid mention about the README from config.txt)
- Loading branch information