fairphone-fp3: add swlock-offset, make msm-fb-refresher downstream-only (MR 3767)

Since the RTC like on most Qualcomm chips is read-only, use
swclock-offset package to fix up time after boot.

And since we don't need msm-fb-refresher on mainline, move it to the
downstream kernel subpackage.
This commit is contained in:
Luca Weiss 2022-12-26 13:57:45 +01:00
parent ce8f4219d2
commit ac073485e0
No known key found for this signature in database
GPG key ID: 72D843B89D4DD756

View file

@ -1,16 +1,16 @@
# Reference: <https://postmarketos.org/devicepkg> # Reference: <https://postmarketos.org/devicepkg>
pkgname=device-fairphone-fp3 pkgname=device-fairphone-fp3
pkgdesc="Fairphone 3" pkgdesc="Fairphone 3"
pkgver=0.5 pkgver=0.6
pkgrel=0 pkgrel=0
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
arch="aarch64" arch="aarch64"
options="!check !archcheck" options="!check !archcheck"
depends=" depends="
msm-fb-refresher
mkbootimg mkbootimg
postmarketos-base postmarketos-base
swclock-offset
" "
makedepends="devicepkg-dev" makedepends="devicepkg-dev"
source="deviceinfo" source="deviceinfo"
@ -32,7 +32,7 @@ package() {
kernel_downstream() { kernel_downstream() {
pkgdesc="Downstream kernel (recommended)" pkgdesc="Downstream kernel (recommended)"
depends="linux-fairphone-fp3" depends="linux-fairphone-fp3 msm-fb-refresher"
devicepkg_subpackage_kernel $startdir $pkgname $subpkgname devicepkg_subpackage_kernel $startdir $pkgname $subpkgname
} }