main/postmarketos-ui-sway: add elogind-openrc to depends, enable service (MR 4020)

This commit is contained in:
Pablo Correa Gómez 2023-04-20 22:29:30 +02:00 committed by Newbyte
parent 10e5f418a0
commit bc8bc00ef9
No known key found for this signature in database
GPG key ID: 990600ED1DB95E02
2 changed files with 5 additions and 2 deletions

View file

@ -2,7 +2,7 @@
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org> # Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
pkgname=postmarketos-ui-sway pkgname=postmarketos-ui-sway
pkgver=3.1 pkgver=3.1
pkgrel=0 pkgrel=1
pkgdesc="(Wayland) Tiling WM, drop-in replacement for i3wm (DOES NOT RUN WITHOUT HW ACCELERATION!)" pkgdesc="(Wayland) Tiling WM, drop-in replacement for i3wm (DOES NOT RUN WITHOUT HW ACCELERATION!)"
url="https://postmarketos.org" url="https://postmarketos.org"
arch="noarch" arch="noarch"
@ -11,6 +11,7 @@ subpackages="$pkgname-logo-key-alt:logo_key_alt"
depends=" depends="
dnsmasq dnsmasq
elogind elogind
elogind-openrc
polkit-elogind polkit-elogind
postmarketos-base-ui postmarketos-base-ui
postmarketos-base-ui-networkmanager postmarketos-base-ui-networkmanager

View file

@ -1,7 +1,9 @@
#!/bin/sh #!/bin/sh
rc-update add elogind default
rc-update add networkmanager default
rc-update add tinydm default rc-update add tinydm default
tinydm-set-session -s /usr/share/wayland-sessions/sway.desktop tinydm-set-session -s /usr/share/wayland-sessions/sway.desktop
rc-update add networkmanager default
exit 0 exit 0