systemd/systemd-services: add CAP_WAKE_ALARM to powerdevil

With systemd 275.x merged, this works as expected and also upstream
changes for this is merged. So, let's enable this here to allow Alarm
clock in Plasma Mobile e.g. to wake up device from suspend.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6509
This commit is contained in:
Bhushan Shah
2025-05-16 11:38:04 +05:30
parent 7a01a16ee1
commit 4907fec033
2 changed files with 3 additions and 2 deletions
@@ -7,7 +7,7 @@
# How to add a new service file (5 steps):
pkgname=systemd-services
# 1. bump pkgver
pkgver=69
pkgver=70
pkgrel=0
pkgdesc="Systemd service files"
url="https://postmarketos.org"
@@ -399,7 +399,7 @@ c0badea3905c1d53d213fbfe11d25b556a2e484fe77eb50e9f4d42e25b67b56a0804e7d8e1b7731c
e12d8e98e28a795f879aebcceb32a991ee4abcb3bc5ec458aa5378bb52ff86cf39be04bc4a196925f532d623304b3005f561fa5e55d1c87944d718058ec4c0e6 system-plasma-mobile.service
ebd194aad645a836ba2b51bfcebd7f78a8ec703e62dd7a7e85343df4f7b60e99abfebd6de12e540e4be24e9079aee0b8ea450e5169ce9ee97e44d0b370013a07 user-plasma-polkit-agent.service
95a6acdc58b2ca13a92c62a36e455da9007443798c48a614a2154669de9a73e176b2f92124716f919f0088ba5b5bc4ae679138babf2c41f6e02c6a26af2da46a system-power-profiles-daemon.service
d89b60a2eae84036231e6457a44fc2cb2a5d85b444f4fbdda37bfdfee5810676407498f7a2f7599d7aa8662e0aac3314f0a96c9b21c3f5be95564cc50bd40674 user-plasma-powerdevil.service
9f9392a2f9f72791c96179cf6e22e39e9c2f0e2dd3016e32143a68f871bd0ab506936f3372af0714330099888c877e7fe940102c862aa447d3e2758d9e00d046 user-plasma-powerdevil.service
4c4c3f1e5e829ff67dd35df59120ab59730ff1f1ca0aab93f16d670132979a99099fad59e6c736908cc19df9172c9bdfe476ec721a1cc28de8c2210da46ce1f1 system-q6voiced.service
621189aa251655796795f4fa0cd79360bb67573e7327e545064eaadafc83cc7b382a405d6ba80662e0a4ece3876e4270e3563d859a6ba63b5e3854b39c35873e system-qbootctl.service
998f70776a2857b44202079ecb1ec76331f998155c8a4a15ce036b2fb916d82cba5d750d66509e562f93482c2301a262e8efc220fe54ac2ee1a445801823e465 system-diag-router.service
@@ -10,6 +10,7 @@ BusName=org.kde.Solid.PowerManagement
TimeoutStopSec=5sec
Slice=background.slice
Restart=on-failure
AmbientCapabilities=CAP_WAKE_ALARM
# Temporary workaround for Powerdevil crashing while kwin_wayland restarts
Environment=POWERDEVIL_NO_DDCUTIL=1