community/device-fairphone-fp4: add qbootctl & swclock-offset (MR 3529)

The qbootctl service tells the bootloader that the current boot has
succeeded, so that the bootloader doesn't switch to the other slot after
~7 tries.

The swclock-offset dependency ensures that the time is set correctly
after a reboot, caused by the read-only RTC on Qualcomm.

[ci:skip-build]: already built successfully in CI
This commit is contained in:
Luca Weiss 2022-10-04 11:03:13 +02:00 committed by Oliver Smith
parent 29d3abe94d
commit 570f7a50b5
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
3 changed files with 8 additions and 2 deletions

View file

@ -2,8 +2,8 @@
# Maintainer: Luca Weiss <luca@z3ntu.xyz> # Maintainer: Luca Weiss <luca@z3ntu.xyz>
pkgname=device-fairphone-fp4 pkgname=device-fairphone-fp4
pkgdesc="Fairphone 4" pkgdesc="Fairphone 4"
pkgver=0.8 pkgver=0.9
pkgrel=2 pkgrel=0
url="https://postmarketos.org" url="https://postmarketos.org"
license="MIT" license="MIT"
arch="aarch64" arch="aarch64"
@ -15,8 +15,11 @@ depends="
mkbootimg mkbootimg
postmarketos-base postmarketos-base
postmarketos-update-kernel postmarketos-update-kernel
qbootctl
swclock-offset
" "
makedepends="devicepkg-dev" makedepends="devicepkg-dev"
install="$pkgname.post-install $pkgname.post-upgrade"
source=" source="
90-feedbackd-aw8695.rules 90-feedbackd-aw8695.rules
deviceinfo deviceinfo

View file

@ -0,0 +1,2 @@
#!/bin/sh
rc-update add qbootctl default

View file

@ -0,0 +1 @@
device-fairphone-fp4.post-install