device-fairphone-fp3: modem, audio & qbootctl
While the modem has worked for quite a while on mainline, for some reason some dependencies were never added to the device package. And add the firmware for the audio amplifier on Fairphone 3 since it's also supposed to work now. And install qbootctl (and enable it by default) to mark the current slot as successful to not get stuck in the bootloader after a couple of reboots. Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7010>
This commit is contained in:
parent
2cb88d5c6d
commit
c11b4a74f2
3 changed files with 20 additions and 1 deletions
|
|
@ -3,7 +3,7 @@
|
|||
pkgname=device-fairphone-fp3
|
||||
pkgdesc="Fairphone 3"
|
||||
pkgver=5
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
|
|
@ -11,17 +11,22 @@ options="!check !archcheck"
|
|||
depends="
|
||||
firmware-fairphone-fp3-adreno
|
||||
firmware-fairphone-fp3-adsp
|
||||
firmware-fairphone-fp3-audio
|
||||
firmware-fairphone-fp3-modem
|
||||
firmware-fairphone-fp3-venus
|
||||
firmware-fairphone-fp3-wcnss
|
||||
firmware-qcom-adreno-a530
|
||||
linux-postmarketos-qcom-msm8953
|
||||
lk2nd-msm8953
|
||||
mkbootimg
|
||||
msm-modem-uim-selection
|
||||
postmarketos-base
|
||||
qbootctl
|
||||
rmtfs
|
||||
soc-qcom-msm8953
|
||||
"
|
||||
makedepends="devicepkg-dev"
|
||||
subpackages="$pkgname-openrc"
|
||||
source="deviceinfo modules-initfs"
|
||||
|
||||
build() {
|
||||
|
|
@ -32,6 +37,17 @@ package() {
|
|||
devicepkg_package $startdir $pkgname
|
||||
}
|
||||
|
||||
openrc() {
|
||||
install_if="$pkgname=$pkgver-r$pkgrel openrc"
|
||||
install="$subpkgname.post-install $subpkgname.post-upgrade"
|
||||
depends="
|
||||
openrc
|
||||
qbootctl-openrc
|
||||
"
|
||||
|
||||
mkdir -p "$subpkgdir"
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
085493abe7ca996dc78f4ca75e532f17a90831167cf4af4352f7c5451fc8383e3cfd5e62971c17465a2ec6b0298adb5702f869d73749f1eca048bfce6e0e8b7f deviceinfo
|
||||
c56e5b11dc5ecaba8bb5ff0e06a1f2746942eebb0336257e44e673e849f440a6800e5b30e297e5827fb540778e4400daa31b76f521b3e804279c0c2b3329267f modules-initfs
|
||||
|
|
|
|||
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
rc-update add qbootctl default
|
||||
|
|
@ -0,0 +1 @@
|
|||
device-fairphone-fp3-openrc.post-install
|
||||
Loading…
Add table
Add a link
Reference in a new issue