diff options
-rwxr-xr-x | scripts/install.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/install.sh b/scripts/install.sh index 9bbdf3758..d899d2087 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -552,10 +552,11 @@ case $target { [[ -e "$x" ]] && cp "$fwdir"/*.dtb "$B/" break done + # use static dtoverlay, rename to *.dtb mkdir "$B/"overlays for x in "$fwdir"/overlays/*.dtbo; do - [[ -e "$x" ]] && cp "$fwdir"/overlays/*.dtbo "$B/"overlays - break + y=$(basename ${x} .dtbo) + [[ -e "$x" ]] && cp "$fwdir"/overlays/${y}.dtbo "$B/"overlays/${y}.dtb done umount_fs "$B" ;; |