device-raspberry-pi*: fix boot error caused by missing dtb files (!1047)

The upstream linux-rpi package has been modified: the dtb files
are now located in /boot/dtbs.
This commit is contained in:
Daniele Debernardi 2020-03-10 02:04:33 +01:00 committed by Oliver Smith
parent d2484443d6
commit 87ea0c5519
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
12 changed files with 17 additions and 15 deletions

View file

@ -1,6 +1,5 @@
#!/bin/sh
kernver=$(cat /usr/share/kernel/rpi/kernel.release)
cd /usr/lib/linux-${kernver}/
cd /boot/dtbs-rpi/
find . -type f -regex ".*\.dtbo\?$" -exec install -Dm644 {} /boot/{} \;