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

@ -3,14 +3,14 @@
pkgname="device-raspberry-pi3"
pkgdesc="Raspberry Pi 3B/3B+"
pkgver=0.1
pkgrel=8
pkgrel=9
url="https://postmarketos.org"
license="MIT"
arch="aarch64"
options="!check !archcheck"
depends="postmarketos-base raspberrypi-bootloader linux-rpi mesa-dri-vc4 bluetooth-raspberry-pi"
makedepends="devicepkg-dev"
install="$pkgname.post-install"
install="$pkgname.post-install $pkgname.post-upgrade"
subpackages="$pkgname-weston"
source="deviceinfo config.txt usercfg.txt cmdline.txt 95-vchiq-permissions.rules weston.ini networkmanager.conf"

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/{} \;

View file

@ -0,0 +1 @@
device-raspberry-pi3.post-install