main/postmarketos-base-downstream: enable msm-modem-downstream openrc service on post-install

Moved from the now removed msm-modem, see HEAD~.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7677>
This commit is contained in:
Achill Gilgenast 2026-01-02 00:23:08 +01:00 committed by The Friendly Meow (merge) Bot
parent 55eb68b586
commit 539c681cf3
No known key found for this signature in database
2 changed files with 11 additions and 1 deletions

View file

@ -1,14 +1,16 @@
maintainer="Henrik Grimler <henrik@grimler.se>"
pkgname=postmarketos-base-downstream
pkgver=2
pkgrel=2
pkgrel=1
pkgdesc="Base package for devices with downstream (vendor) kernels"
url="https://postmarketos.org"
arch="noarch"
license="GPL-3.0-or-later"
install="$pkgname-msm-modem-openrc.post-install"
subpackages="
$pkgname-disable-udev-v4l:disable_udev_v4l
$pkgname-lightdm
$pkgname-msm-modem-openrc:msm_modem_openrc
"
source="10-logind-check-graphical.conf"
@ -32,6 +34,12 @@ lightdm() {
-t "$subpkgdir"/usr/share/lightdm/lightdm.conf.d
}
msm_modem_openrc() {
default_openrc
install_if="$pkgname=$pkgver-r$pkgrel openrc msm-modem"
mkdir -p "$subpkgdir"
}
sha512sums="
00addbea452dd3e2cb90e18793becc47d22118e6b99a79b76eb57db02aa8b00b133569beaea81cce4b39c9e556280c1d6ac8ab687016354e2d189734e38768cf 10-logind-check-graphical.conf
"

View file

@ -0,0 +1,2 @@
#!/bin/sh
rc-update add msm-modem-downstream