summaryrefslogtreecommitdiff
path: root/scripts/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/install.sh')
-rwxr-xr-xscripts/install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/install.sh b/scripts/install.sh
index 30c4449a8..df39ba9f8 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -546,8 +546,8 @@ case $target {
break
done
mkdir "$B/"overlays
- for x in "$B/"*-overlay.dtb; do
- [[ -e "$x" ]] && mv "$B/"*-overlay.dtb "$B/"overlays
+ for x in "$fwdir"/overlays/*.dtb; do
+ [[ -e "$x" ]] && cp "$fwdir"/overlays/*.dtb "$B/"overlays
break
done
umount_fs "$B"