It refactors the glob copy function such that it can actually handle sub-directories correctly (by copying using relative paths as opposed to always stripping the entire path away)
It adds overlays/*.dtbo to the globs to copy overlays from the kernel package (if present)
Future things this PR is not meant to address (but will be useful in the future imo):
Configuration to include overlays using the stock kernel package
Configuration to adjust config.txt to add dtoverlay lines
This achieves two things:
overlays/*.dtbo
to the globs to copy overlays from the kernel package (if present)Future things this PR is not meant to address (but will be useful in the future imo):
config.txt
to adddtoverlay
lines