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,7 +3,7 @@
pkgname="device-raspberry-pi" pkgname="device-raspberry-pi"
pkgdesc="Raspberry Pi" pkgdesc="Raspberry Pi"
pkgver=0.1 pkgver=0.1
pkgrel=10 pkgrel=11
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
arch="armhf" arch="armhf"
@ -39,14 +39,14 @@ package() {
kernel_rpi() { kernel_rpi() {
pkgdesc="Kernel for the Raspberry Pi 1 (from Alpine, depends on non free firmware!)" pkgdesc="Kernel for the Raspberry Pi 1 (from Alpine, depends on non free firmware!)"
depends="$pkgname linux-rpi" depends="$pkgname linux-rpi"
install="$subpkgname.post-install" install="$subpkgname.post-install $subpkgname.post-upgrade"
mkdir "$subpkgdir" mkdir "$subpkgdir"
} }
kernel_rpi2() { kernel_rpi2() {
pkgdesc="Kernel for the Raspberry Pi 2 (from Alpine, depends on non free firmware!)" pkgdesc="Kernel for the Raspberry Pi 2 (from Alpine, depends on non free firmware!)"
depends="$pkgname linux-rpi2" depends="$pkgname linux-rpi2"
install="$subpkgname.post-install" install="$subpkgname.post-install $subpkgname.post-upgrade"
mkdir "$subpkgdir" mkdir "$subpkgdir"
} }

View file

@ -0,0 +1 @@
device-raspberry-pi-kernel-rpi.post-install

View file

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

View file

@ -0,0 +1 @@
device-raspberry-pi-kernel-rpi2.post-install

View file

@ -3,14 +3,14 @@
pkgname="device-raspberry-pi0" pkgname="device-raspberry-pi0"
pkgdesc="Raspberry Pi Zero" pkgdesc="Raspberry Pi Zero"
pkgver=0.1 pkgver=0.1
pkgrel=4 pkgrel=5
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
arch="armhf" arch="armhf"
options="!check !archcheck" options="!check !archcheck"
depends="postmarketos-base raspberrypi-bootloader linux-rpi bluetooth-raspberry-pi" depends="postmarketos-base raspberrypi-bootloader linux-rpi bluetooth-raspberry-pi"
makedepends="devicepkg-dev" makedepends="devicepkg-dev"
install="$pkgname.post-install" install="$pkgname.post-install $pkgname.post-upgrade"
source="deviceinfo config.txt usercfg.txt cmdline.txt 95-vchiq-permissions.rules" source="deviceinfo config.txt usercfg.txt cmdline.txt 95-vchiq-permissions.rules"
build() { build() {

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -4,14 +4,14 @@
pkgname="device-raspberry-pi4" pkgname="device-raspberry-pi4"
pkgdesc="Raspberry Pi 4" pkgdesc="Raspberry Pi 4"
pkgver=0.1 pkgver=0.1
pkgrel=2 pkgrel=3
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
arch="aarch64" arch="aarch64"
options="!check !archcheck" options="!check !archcheck"
depends="postmarketos-base raspberrypi-bootloader linux-rpi4" depends="postmarketos-base raspberrypi-bootloader linux-rpi4"
makedepends="devicepkg-dev" makedepends="devicepkg-dev"
install="$pkgname.post-install" install="$pkgname.post-install $pkgname.post-upgrade"
source="deviceinfo config.txt usercfg.txt cmdline.txt 95-vchiq-permissions.rules" source="deviceinfo config.txt usercfg.txt cmdline.txt 95-vchiq-permissions.rules"
build() { build() {

View file

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