Compare commits

...
Author SHA1 Message Date
Oliver Smith f1c7bc9ecc main/postmarketos-ui-sxmo: eg25-manager workaround
Sxmo's modemmonitor doesn't play nice with eg25-manager. Until this is
fixed properly, add a workaround to disable eg25-manager if sxmo is
installed.

Related: https://todo.sr.ht/~mil/sxmo-tickets/156
2021-01-24 17:11:54 +01:00
2 changed files with 23 additions and 1 deletions

No files matched your search

+14 -1
View File
@@ -1,12 +1,15 @@
# Maintainer: Miles Alan <m@milesalan.com>
pkgname=postmarketos-ui-sxmo
pkgver=1.2.0
pkgver=1.2.1
pkgrel=0
pkgdesc="(X11) Simple X Mobile: Mobile environment based on simple & suckless software (best compatibility on pinephone)"
url="http://sr.ht/~mil/Sxmo"
arch="noarch !armhf"
license="MIT"
depends="sxmo-xdm-config"
subpackages="$pkgname-eg25-manager:eg25_manager"
source="eg25-manager.initd"
_pmb_recommends="
firefox-esr
foxtrotgps
@@ -22,3 +25,13 @@ options="!check" # has no tests
package() {
mkdir -p "$pkgdir"
}
eg25_manager() {
pkgdesc="Dummy eg25-manager workaround for sxmo#156"
install_if="$pkgname=$pkgver-r$pkgrel eg25-manager"
replaces="eg25-manager-openrc"
install -Dm755 eg25-manager.initd \
"$subpkgdir"/etc/init.d/eg25-manager
}
sha512sums="129d35d50d926cbcaec83fd2316ad3c4bee3cf7d69c4c67798b7c1f86623556c087289f557ad353ff7f03e09dc7ae4aafeac14ecaba487e7d216cc4257a7f116 eg25-manager.initd"
@@ -0,0 +1,9 @@
#!/sbin/openrc-run
# Workaround for: https://todo.sr.ht/~mil/sxmo-tickets/156
description="EG25 Manager Dummy (Workaround for Sxmo)"
command="/usr/bin/true"
depend()
{
after modemmanager
}