device-sony-leo: add firmware for mainline kernel (MR 4452)

As with the firmware commit, no effort is done to keep firmware packages
working with downstream kernel.

[ci:skip-build]: already built successfully in CI
This commit is contained in:
Luca Weiss 2023-10-05 20:57:45 +02:00 committed by Pablo Correa Gómez
parent 8402710815
commit 616b3e14bb
No known key found for this signature in database
GPG key ID: 7A342565FF635F79
3 changed files with 14 additions and 3 deletions

View file

@ -2,8 +2,8 @@
# Reference: <https://postmarketos.org/devicepkg>
pkgname=device-sony-leo
pkgdesc="Sony Xperia Z3"
pkgver=0.3
pkgrel=2
pkgver=0.4
pkgrel=0
url="https://postmarketos.org"
license="MIT"
arch="armv7"
@ -44,7 +44,15 @@ kernel_mainline() {
nonfree_firmware() {
pkgdesc="Wifi/GPU firmware"
depends="linux-firmware-brcm linux-firmware-cypress firmware-qcom-adreno-a330"
depends="
firmware-sony-leo-adsp
firmware-sony-leo-modem
firmware-sony-leo-wifi
msm-modem
ta-service
ta-service-openrc
"
install="$subpkgname.post-install $subpkgname.post-upgrade"
mkdir "$subpkgdir"
}

View file

@ -0,0 +1,2 @@
#!/bin/sh
rc-update add ta-service boot

View file

@ -0,0 +1 @@
device-sony-leo-nonfree-firmware.post-install