From bc8bc00ef939b79885f9183c4e4604483b57dd23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Correa=20G=C3=B3mez?= Date: Thu, 20 Apr 2023 22:29:30 +0200 Subject: [PATCH] main/postmarketos-ui-sway: add elogind-openrc to depends, enable service (MR 4020) --- main/postmarketos-ui-sway/APKBUILD | 3 ++- main/postmarketos-ui-sway/postmarketos-ui-sway.post-install | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/main/postmarketos-ui-sway/APKBUILD b/main/postmarketos-ui-sway/APKBUILD index 34fc448d4..e31175a18 100644 --- a/main/postmarketos-ui-sway/APKBUILD +++ b/main/postmarketos-ui-sway/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Oliver Smith pkgname=postmarketos-ui-sway pkgver=3.1 -pkgrel=0 +pkgrel=1 pkgdesc="(Wayland) Tiling WM, drop-in replacement for i3wm (DOES NOT RUN WITHOUT HW ACCELERATION!)" url="https://postmarketos.org" arch="noarch" @@ -11,6 +11,7 @@ subpackages="$pkgname-logo-key-alt:logo_key_alt" depends=" dnsmasq elogind + elogind-openrc polkit-elogind postmarketos-base-ui postmarketos-base-ui-networkmanager diff --git a/main/postmarketos-ui-sway/postmarketos-ui-sway.post-install b/main/postmarketos-ui-sway/postmarketos-ui-sway.post-install index d899cd956..188290412 100644 --- a/main/postmarketos-ui-sway/postmarketos-ui-sway.post-install +++ b/main/postmarketos-ui-sway/postmarketos-ui-sway.post-install @@ -1,7 +1,9 @@ #!/bin/sh +rc-update add elogind default +rc-update add networkmanager default + rc-update add tinydm default tinydm-set-session -s /usr/share/wayland-sessions/sway.desktop -rc-update add networkmanager default exit 0