Bhushan Shah
4907fec033
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
2025-05-16 11:38:04 +05:30
George Brooke
59f47ddc1e
systemd/systemd-services: add keyd service file
...
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6499
2025-05-14 20:39:34 +01:00
Clayton Craft
ee13367e22
systemd/systemd-services: add docker-engine/dockerd and containerd unit files
...
fixes #3679
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6450
[ci:skip-build]: already built successfully in CI
2025-05-12 19:07:27 +02:00
Jane Rachinger
7bf33125d4
systemd/systemd-services: install tmpfiles into right directory
...
previously tmpfiles got installed under /usr/lib/tmpfiles.d/tmpfiles.d/.
This omits the tmpfiles.d in the prefix to install files under
/usr/lib/tmpfiles.d/.
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6502
[ci:skip-build]: already built successfully in CI
2025-05-12 18:49:34 +02:00
Bart Ribbers
982e207f85
systemd/systemd-services: disable ddcutil integration of PowerDevil
...
As mentioned in https://blog.bshah.in/2025/05/07/plasma-sprint-in-graz-2025/ it's
currently broken and causes issues when kwin_wayland restarts for some reason. Better to just disable it until upstream has figured out a proper solution.
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6487
[ci:skip-build]: already built successfully in CI
2025-05-12 17:15:15 +02:00
Clayton Craft
905a0683c4
systemd/systemd-services: add avahi-daemon unit files
...
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6477
[ci:skip-build]: already built successfully in CI
2025-05-11 17:16:36 +02:00
Casey Connolly
9b3769cced
treewide: update my name
...
[ci:skip-build]
Signed-off-by: Casey Connolly <kcxt@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6488
2025-05-10 17:59:34 +02:00
Aster Boese
83e90ecc8b
systemd/systemd-services: add wlgreet service
...
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6449
2025-04-30 17:12:05 +02:00
Caleb Connolly
9fbdd4e5cf
systemd/*: rebuild with abuild patches
...
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6380
[ci:skip-build]: already built successfully in CI
2025-04-29 09:46:30 -07:00
Clayton Craft
60778a8e82
systemd/systemd-services: remove zram-init -s param from zram_swap.service
...
This causes zram-init to write to a device attr that was dropped from the 6.15 kernel, and fail:
4127e13c93
Reported upstream:
https://github.com/vaeth/zram-init/issues/50
fixes #3677
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6443
[ci:skip-build]: already built successfully in CI
2025-04-23 13:59:59 -07:00
fossdd
79deaef247
systemd/systemd-services: re-add fbd-alert-slider.service
...
Was previously added (052b0dc801
) and removed (4e0c698208
) again.
But since feedbackd from Alpine doesn't provide the service again,
re-add the service.
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6401
[ci:skip-build]: already built successfully in CI
2025-04-23 10:14:00 -07:00
Caleb Connolly
f2e83e42eb
systemd-services/tailscale: use nftables backend
...
The iptables frontend for nftables seems to not play nice. Since we use
nftables in postmarketOS anyway, tell tailscale to use it directly. This
fixes routing not working and the following error seen in tailscale status
- adding [-i tailscale0 -j MARK --set-mark 0x40000/0xff0000] in v4/filter/ts-forward: running [/usr/sbin/iptables -t filter -A ts-forward -i tailscale0 -j MARK --set-mark 0x40000/0xff0000 --wait]: exit status 2: Warning: Extension MARK revision 0 not supported, missing kernel module?
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6344
2025-03-26 20:56:05 +01:00
Clayton Craft
4e3a7ad0bf
systemd/systemd-services: fix install_if, try 2
...
Typo caused an invalid install_if to be generated, convincing apk to remove pkgs
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6351
[ci:skip-build]: already built successfully in CI
2025-03-23 10:14:56 -07:00
Oliver Smith
a0cc21b80c
systemd/systemd-services: fix install_if
...
It's important to use a versioned constraint so that if the
package is ever removed from the binary repository it will actually be
removed from the users system too.
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6347
[ci:skip-build]: already built successfully in CI
2025-03-23 16:10:36 +01:00
Caleb Connolly
0ddba42a61
systemd-services: use systemd funcs from abuild
...
Use the new default_systemd_install_scripts function from [1]. This
generates the install scripts automatically and detects what services
need to be preset/disabled/reloaded.
default_systemd wasn't used on purpose, see the comment in the patch for
an explanation.
[1]: 85969550e4
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6334
2025-03-22 17:10:28 +00:00
Caleb Connolly
16126b25a4
systemd-services: fix usb-moded-systemd package name
...
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6334
2025-03-22 17:10:28 +00:00
Clayton Craft
2beeeca388
systemd/systemd-services: add unit files for alsa-utils
...
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6287
2025-03-17 08:47:11 +01:00
Clayton Craft
ad6dc88dd7
systemd/systemd-services: add unit files for COSMIC greeter (MR 6274)
2025-03-13 10:57:35 -07:00
fossdd
adada180b2
systemd/systemd-services: add kodi service (MR 6273)
2025-03-12 21:11:48 +01:00
Devin Lin
fc2dfa0dd7
systemd/systemd-services: fix polkit-kde-agent-1-systemd name (MR 6288)
...
The package name was missing the -systemd suffix, causing it to conflict
with the real polkit-kde-agent-1 package.
[ci:skip-build]: already built successfully in CI
2025-03-05 10:50:40 -08:00
Clayton Craft
d60a83adaf
systemd/systemd-services: add localsearch unit files (MR 6194)
...
[ci:skip-build]: already built successfully in CI
2025-03-05 11:22:51 +01:00
Clayton Craft
7ee9d24cf2
systemd/systemd-services: add power-profiles-daemon unit file (MR 6265)
...
[ci:skip-build]: already built successfully in CI
2025-03-03 19:01:51 +01:00
Clayton Craft
57678bf70a
systemd/systemd-services: fix path in fnott.service (MR 6254)
...
[ci:skip-build]: already built successfully in CI
2025-03-03 18:56:46 +01:00
Bart Ribbers
98962e40c8
systemd/systemd-services: add AsteroidUI-related unit files (MR 6160)
2025-03-03 18:20:08 +01:00
Devin Lin
ca37436209
systemd/systemd-services: add plasma-polkit-agent (MR 6252)
...
kde-polkit-agent-1 needs a systemd unit file to be started up on session
login, so that we have a polkit greeter.
2025-03-01 06:57:39 +00:00
Devin Lin
7d017f5f08
extra-repos/systemd/systemd-services: rename kded to plasma-kded6 (MR 6247)
...
kded currently doesn't start with the session, but when I rename the systemd unit file to plasma-kded6.service, it starts automatically.
[ci:skip-build]: already built successfully in CI
2025-02-22 23:38:16 -08:00
Clayton Craft
73dd694b16
systemd/systemd-services: add zram-init unit file (MR 6208)
2025-02-21 10:28:22 -08:00
Clayton Craft
e799a582f2
systemd/systemd-services: fix wg-quick@ unit (MR 6218)
...
I accidentally commented out an important section header and didn't
notice until now...
[ci:skip-build]: already built successfully in CI
2025-02-14 10:54:59 -08:00
Clayton Craft
359b2d8451
systemd/systemd-services: hexagonrpcd: use new path for env in unit files (MR 6188)
...
Changed in: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/79927
[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2025-02-13 08:58:50 -08:00
Robert Mader
6ed4f78241
systemd/systemd-services: add unit file for fprintd (MR 6205)
...
[ci:skip-build]: already built successfully in CI
2025-02-13 08:47:35 -08:00
Clayton Craft
0721feeec0
systemd/systemd-services: add msm-modem (MR 6173)
...
Also add config to rmtfs so systemd starts stuff in the correct order.
I added the msm-modem unit here instead of in pmaports/modem/msm-modem
because systemd-services handles creating boilerplate install scripts
automatically.
fixes #3451
[ci:skip-build]: already built successfully in CI
2025-02-12 14:56:52 -08:00
Bart Ribbers
efdaf964c2
systemd/systemd-services: add unit file for kwallet-pam (MR 6203)
...
[ci:skip-build]: already built successfully in CI
2025-02-12 22:02:04 +01:00
Clayton Craft
c2ca0f73ce
systemd/{postmarketos-base-systemd,systemd-services}: fix maintainer line
...
abuild doesn't allow multiple "maintainer" lines, I should have used
Co-maintainer instead...
[ci:skip-vercheck]
2025-02-11 22:10:57 -08:00
Clayton Craft
a0673b8378
systemd/systemd-service: add Clayton as maintainer (MR 6183)
2025-02-11 16:22:48 -08:00
Clayton Craft
656fc0206d
systemd/systemd-services: add vvmd (MR 6183)
...
Also sent this upstream here: https://gitlab.com/kop316/vvmd/-/merge_requests/86
2025-02-11 13:06:36 -08:00
Devin Lin
5afe39283c
systemd/systemd-services: add hfd-service (MR 6191)
...
Unit file is from https://gitlab.com/ubports/development/core/hfd-service/-/blob/main/init/hfd-service.service.in?ref_type=heads
This fixes system vibrations not working in Plasma.
[ci:skip-build]: already built successfully in CI
2025-02-10 17:44:11 -08:00
fossdd
f51775ed7e
systemd/systemd-services: remove phosh.service (MR 6150)
...
phosh.services is superseeded by forking phosh from Alpine to include
systemd-related files
[ci:skip-build]: already built successfully in CI
2025-02-09 13:55:50 +01:00
Clayton Craft
5f792c1936
systemd/systemd-services: hexagonrpc-*: run services conditionally (MR 6147)
...
- hexagonrpcd-adsp-rootpd should only be started if valid config exists
for it, e.g. provided by device pkgs
- For devices with a CDSP: only the -adsp-rootpd and -sdsp services should
be started.
- For devices with only an ADSP: only -adsp-rootpd and -adsp-sensorspd
should be started.
This also stops the hexagonrpcd-adsp-sensorspd on suspend, attempting
to work around some issue wrt sargo that is implemented in openrc (see
fe00027849
)
[ci:skip-build]: build tested locally since alsa-ucm conflicts prevent
build testing in CI
2025-02-07 11:34:59 -08:00
Clayton Craft
89bb82e942
systemd/systemd-services: fix iio-sensor-proxy override conf (MR 6147)
...
The dir was incorrect, so systemd was not merging the override
2025-02-07 11:34:59 -08:00
Robert Mader
774e018a7a
systemd/systemd-services: Add additional hexagonrpcd unit files (MR 6147)
...
Matching the openRC ones. Also make use of the hexagonrpcd_fw_dir env var
and reuse the correcponding conf files, making it easier to support
both init systems.
2025-02-07 10:09:39 -08:00
Bart Ribbers
4d35434e14
systemd/systemd-services: add a unit file for ksystemstats (MR 6157)
2025-02-05 18:07:15 +01:00
Bart Ribbers
97e342a89c
systemd/systemd-services: add a unit file for baloo (MR 6149)
2025-02-05 15:40:57 +03:00
fossdd
dbdbc6fc4f
systemd/systemd-services: fix libexecdir of user-xdg-desktop-portal-phosh.service (MR 6108)
2025-02-01 16:06:28 +01:00
Clayton Craft
998cfab209
systemd-services: add wg-quick (MR 6094)
2025-01-30 22:58:55 -08:00
jane400
6005bc9e1e
systemd/systemd-services: don't override tinydm completly (MR 6091)
...
The package was named tinydm instead of tinydm-systemd accidentally.
This will cause tinydm-start-session to vanish after upgrading,
completely breaking booting into any GUI that depends on tinydm.
(only systemd installations are affected)
2025-01-27 13:11:12 +03:00
jane400
295521cac4
systemd/systemd-services: update flatpak user units (MR 6078)
...
Add flatpak-oci-authenticator.service and fixup paths to /usr/libexec
[ci:skip-build]: already built successfully in CI
2025-01-23 10:19:53 -08:00
Oliver Smith
90ba2529dd
extra-repos/systemd: add tinydm (MR 6060)
...
Based on, and adjusted for pmOS:
https://github.com/dreemurrs-embedded/Pine64-Arch/blob/master/PKGBUILDS/sxmo/tinydm/tinydm.service
This should be moved to tinydm upstream later on.
Related: tinydm issue 11
2025-01-17 14:16:26 -08:00
Oliver Smith
a7a455c124
systemd/systemd-services: wpa_supplicant: add -q (MR 6060)
...
Make wpa_supplicant less verbose, so it doesn't print log messages to
journalctl every 3 seconds:
Jan 16 18:47:05 l14 wpa_supplicant[4888]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-47 noise=9999 txrate=286700
Jan 16 18:47:08 l14 wpa_supplicant[4888]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-48 noise=9999 txrate=286700
Jan 16 18:47:11 l14 wpa_supplicant[4888]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-47 noise=9999 txrate=286700
Jan 16 18:47:14 l14 wpa_supplicant[4888]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-47 noise=9999 txrate=286700
Jan 16 18:47:17 l14 wpa_supplicant[4888]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-47 noise=9999 txrate=286700
Jan 16 18:47:20 l14 wpa_supplicant[4888]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-47 noise=9999 txrate=286700
Jan 16 18:47:23 l14 wpa_supplicant[4888]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-48 noise=9999 txrate=286700
Jan 16 18:47:26 l14 wpa_supplicant[4888]: wlan0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-48 noise=9999 txrate=286700
2025-01-17 14:16:26 -08:00
Alexey Min
0410fd4107
systemd/systemd-services: add diag-router unit file (MR 6053)
...
qcom-diag package is not providing systemd service file.
Signed-off-by: Alexey Min <alexey.min@gmail.com>
[ci:skip-build]: already built successfully in CI
2025-01-15 20:02:36 +01:00
Bart Ribbers
0160e3676b
systemd/systemd-services: update path to flatpak-system-helper (MR 6049)
...
The path has been changed since the upgrade to 1.16.0
2025-01-15 11:14:24 +01:00