summaryrefslogtreecommitdiff
path: root/scripts/install.sh
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@conet.de>2015-02-04 10:09:24 +0100
committerWaldemar Brodkorb <wbrodkorb@conet.de>2015-02-04 10:09:24 +0100
commit7c71cc32dfe3162e5df644f46fc5405128aad885 (patch)
tree71fbc8bcdc9de31b90cdf4f44512deb1eec750ea /scripts/install.sh
parent62e251378c7e36a1cb3a5eaa56db5cd592710015 (diff)
add DT trailer to kernel for raspberry pi with dt
The Kernel need a trailer to be recognized as a device-tree kernel. The overlay dir is called /boot/overlays. Now my driver works fine.
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 a80c8965d..50ecfc5b0 100755
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -547,9 +547,9 @@ case $target {
[[ -e "$x" ]] && cp "$fwdir"/*.dtb "$B/"
break
done
- mkdir "$B/"overlay
+ mkdir "$B/"overlays
for x in "$B/"*-overlay.dtb; do
- [[ -e "$x" ]] && mv "$B/"*-overlay.dtb "$B/"overlay
+ [[ -e "$x" ]] && mv "$B/"*-overlay.dtb "$B/"overlays
break
done
umount_fs "$B"