Skip to content

Commit

Permalink
mce-git: Start mce after basic.target
Browse files Browse the repository at this point in the history
  • Loading branch information
neochapay committed Aug 16, 2021
1 parent 0bb1416 commit 662d92f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mce-git/PKGBUILD
@@ -1,11 +1,12 @@
## $Id$
# Contributor: TheKit <nekit1000 at gmail.com>
# Contributor: Alexey Andreyev <aa13q@ya.ru>
# Contributor: Chupligin Sergey (NeoChapay) <neochapay@gmail.com>
# Maintainer: James Kittsmiller (AJSlye) <james@nulogicsystems.com>

pkgname=mce-git
pkgver=1.108.0.r0.g66df443
pkgrel=1
pkgrel=2
pkgdesc="Mode Control Entity for Nokia mobile computers"
arch=('x86_64' 'aarch64')
url="https://github.com/sailfishos/mce.git"
Expand Down Expand Up @@ -36,6 +37,7 @@ prepare() {
build() {
cd "$srcdir/${pkgname%-git}"
make

}

package() {
Expand All @@ -48,6 +50,8 @@ package() {
rmdir $pkgdir/lib/systemd/system/multi-user.target.wants
mv $pkgdir/lib/systemd $pkgdir/usr/lib/systemd

sed -i 's/Before=basic.target//' $pkgdir/usr/lib/systemd/system/mce.service

mkdir -p $pkgdir/usr/lib/tmpfiles.d
echo "d /var/run/mce 0755 root root -" > $pkgdir/usr/lib/tmpfiles.d/mce.conf
rm -rf $pkgdir/lib
Expand Down

0 comments on commit 662d92f

Please sign in to comment.