oneplus-fajita: move q6voiced config out of openrc subpackage

q6voiced stores its config in the OpenRC configuration directory, which is
automatically picked up by the default_openrc split function and moved to
the openrc subpackage. This means q6voiced never starts on systemd. Move
this config out of the openrc subpackage by not using default_openrc.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8656>
This commit is contained in:
Aster Boese 2026-05-27 20:27:45 +02:00 committed by The Friendly Meow (merge) Bot
parent 2779e7a2a4
commit f0a1a7142b
No known key found for this signature in database

View file

@ -3,7 +3,7 @@
maintainer="Casey Connolly <kcxt@postmarketos.org>"
pkgname=device-oneplus-fajita
pkgdesc="OnePlus 6T"
pkgver=25
pkgver=26
pkgrel=0
url="https://postmarketos.org"
license="MIT"
@ -60,9 +60,13 @@ package() {
-t "$pkgdir"/usr/lib/systemd/system-preset
}
# Cannot use default_openrc because q6voiced uses the openrc config path,
# even on systemd, and the default_openrc function moves that path to the
# subpackage
openrc() {
default_openrc
install_if="$pkgname=$pkgver-r$pkgrel openrc"
depends="hexagonrpcd-openrc openrc"
mkdir -p "$subpkgdir"
}
pmtest() {