diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-03-22 05:08:41 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-03-22 05:58:03 +0100 |
commit | b0f1a77b0df58a56122eba5b528927fb4baebd4a (patch) | |
tree | b4a2b6da00648f4650b3aead420f2a9610dbab74 | |
parent | 39a66a8be47b12fcff514b905eaf6fe385c084f6 (diff) |
rpi: rename device tree overlays to use static loading, no DDTK
-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" ;; |