Commit Graph
123 Commits
Author SHA1 Message Date
Jens Reidel acae9b289f systemd/systemd-services: let hexagonrpcd guess the firmware directory
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6966>
2025-09-25 01:06:35 +02:00
Clayton Craft a8f9ec7f58 systemd/systemd-services: add generator for tinydm
Fixes #3897

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6903>
2025-09-12 13:51:17 +02:00
Henrik Grimler d2d455f8a4 extra-repos/systemd: add transmission-daemon service
Based on service script in transmission's repo [1], but with Type
changed to simple as alpine's transmission is built without sd_notify.

[1] https://github.com/transmission/transmission/blob/main/daemon/transmission-daemon.service.in

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7016>
2025-09-10 10:06:39 +02:00
Markus Göllnitz 5c01db2b90 systemd/systemd-services: add vnstat service
Monitoring the network usage due to mobile connections
being metred is probably interesting to more users.

vnstat is also the basis for Usage's optional network
view.

Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7001>
2025-09-09 18:29:17 +02:00
Clayton Craft e63c70b6e8 Rebuild -systemd subpkgs
These packages were previously built by a WIP abuild patch that added
install scripts to each -systemd subpkg for handling preset application
on install and symlink cleanup on uninstall. This functionality has been
replaced by a trigger/commit hook, so we need to rebuild these packages
to drop the install scripts that were previously generated.

[ci:ignore-count]

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6892
2025-09-08 07:33:53 -07:00
Dylan Van Assche 15dbb835b0 systemd/systemd-services: add RuntimeDirectory and StateDirectory for nginx
RuntimeDirectory and StateDirectory are required for NGINX to operate out-of-the-box.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7008>
2025-09-07 18:02:26 +00:00
Henrik Grimler 436d44c8e6 systemd/systemd-services: add apache service
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6996>
2025-09-03 13:53:00 +00:00
Jens Reidel 91a20b30b6 systemd/systemd-services: make iio-sensor-proxy depend on all hexagonrpcd services
This is harmless if the services don't exist (because of Wants instead
of Requires) and applies the correct ordering for devices with
hexagonrpcd and no sdsp.

Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6960>
2025-08-22 11:31:21 +00:00
Alexey Minnekhanov 29025ea0f8 systemd/systemd-services: fix rmtfs service dependencies
Fixes service shutdown order on device shutdown/reboot.
Basically you can't shutdown rmtfs before Wi-Fi is shut down, due to
how remote processors are involved in this on qcom platforms.
If modem is powered off, all attepts to communicate with Wi-Fi
firmware are nonsense and this hangs device on shutdown/reboot
or send it to crashdump mode.

Openrc sercice already has the correct dependency.

Fixes: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3936

For more details, see upstream PR: https://github.com/linux-msm/rmtfs/pull/24

We can safely replace the `Before=msm-modem-uim-selection.service` line
because msm-modem-uim-selection already has its own deps specified in its
own service file.

Signed-off-by: Alexey Minnekhanov <alexeymin@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6956>
2025-08-21 15:46:29 +00:00
Tomasz Duda 97d391b2e7 systemd/systemd-services: add system-watchdog-kick.service
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6883
2025-08-17 12:47:56 -04:00
Jens Reidel 090f511837 systemd/systemd-services: only start q6voiced if config exists
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
[ci:skip-build]: already built successfully in CI

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6927>
2025-08-17 01:31:46 +02:00
Achill Gilgenast 7ebb24dc74 systemd/systemd-services: add user-xdg-desktop-portal-phrosh.service
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6912

[ci:skip-build]: already built successfully in CI
2025-08-15 16:05:54 +02:00
Vasiliy Doylov 2c04e1c2d3 systemd/systemd-services: add speakersafetyd.service
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6923
2025-08-14 13:23:43 +03:00
fossdd 81ae9db45b systemd/systemd-services: add user-cellbroadcastd.service
Becomes a more stricter dependency of Phosh

From https://gitlab.freedesktop.org/devrtz/cellbroadcastd/-/blob/main/data/cellbroadcastd.service.in
plus https://gitlab.freedesktop.org/devrtz/cellbroadcastd/-/merge_requests/43

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6895
2025-08-11 23:53:46 +02:00
Biswapriyo Nath 00aca7844f systemd/systemd-services: add service file for spectacle
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6860

[ci:skip-build]: already built successfully in CI
2025-08-04 16:27:11 +02:00
Clayton Craft 91aa907554 systemd/systemd-services: add sysuser conf for ssh and dnsmasq
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6851
2025-08-02 00:13:18 -04:00
Anjandev Momi 1473d92280 systemd/systemd-services: add service file for siglo
Tested this service file on my postmarketOS device by copying this file
to ~/.config/systemd/user and enabling.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6743
2025-08-01 23:49:14 -04:00
Aster Boese 7429bed2ca */*: bump pkgrels of packages with systemd subpackages
Update to use the new version of the abuild systemd split function.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6713
2025-07-27 17:03:09 -04:00
Biswapriyo Nath 9ee0b6ef19 systemd/systemd-services: add service files for blueman
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6803
2025-07-26 15:57:52 -04:00
Barnabás Czémán 7d997f5c40 systemd/systemd-services: Add new service for msm-modem-wwan-port
Signed-off-by: Barnabás Czémán <barnabas.czeman@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6774
2025-07-23 21:03:46 +02:00
Val Packett f08523a221 systemd/systemd-services: add tinysparql
The tinysparql-xdg-portal-3.service is required for D-Bus activation of
the XDG portal used for Tracker/LocalSearch by e.g. GNOME Music.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6766
2025-07-23 18:10:44 +02:00
Val Packett 271d477d45 systemd/systemd-services: rename tracker/localsearch filenames to match dbus
This fixes D-Bus activation for LocalSearch services.

Note that in the repo, the *filenames* for these are still 'tracker', but
the Meson build system installs them under new 'localsearch' names!

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6766
2025-07-23 18:10:11 +02:00
Robert Eckelmann 77ddd2827c systemd/systemd-services: add service files for XFCE4
Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6668
2025-07-13 12:21:05 +02:00
Robert Eckelmann d03e385d60 systemd/systemd-services: add lightdm.service
Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6668
2025-07-13 12:21:01 +02:00
Henrik Grimler ea4aba479e systemd/systemd-services: add service file for nginx
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6755
2025-07-10 11:34:20 +00:00
Clayton Craft 682ad68e4c extra-repos/systemd: drop armhf
We currently don't build systemd for armhf anymore. Disable all other
packages in the systemd repo too, as these can't be built without the
systemd dependency.

FWIW all of Phosh, Gnome Mobile and Plasma Mobile already have major
packages not building for armhf so they couldn't be used on this arch
anyway.

Once pmb issue 2618 is resolved, we can re-enable systemd for armhf.

Co-authored-by: Oliver Smith <ollieparanoid@postmarketos.org>
Related to !6637
Fixes #3783
[ci:skip-build], [ci:skip-vercheck]: changing arch= only
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6710
2025-06-29 23:08:38 +02:00
LEdoian a41c9c23f6 systemd/systemd-services: add service file for hkdm
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6723

[ci:skip-build]: already built successfully in CI
2025-06-28 15:40:27 -07:00
George Brooke e15e22fcb8 systemd/systemd-services: add services for tuned, tuned-ppd
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6585
2025-06-17 19:21:52 +02:00
binarycraft007 060652e6f9 systemd-services: add sing-box service
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6657

[ci:skip-build]: already built successfully in CI
2025-06-17 19:08:30 +02:00
Clayton Craft 7bf6a9da16 systemd/systemd-services: fix zram_swap unit
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6614

[ci:skip-build]: already built successfully in CI
2025-06-09 13:02:30 +02:00
Clayton Craft d0e480eda1 systemd/systemd-services: add sshd@.service unit
This is inspired by the units shipped by Fedora and Debian:
https://salsa.debian.org/ssh-team/openssh/-/blob/master/debian/systemd/sshd@.service
https://src.fedoraproject.org/rpms/openssh/blob/rawhide/f/sshd%40.service

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6566
[ci:skip-build]: already built successfully in CI
2025-06-04 20:24:35 +02:00
Clayton Craft a3e5f4cda7 systemd/systemd-services: Fix zram_swap unit
This change makes the zram_swap service depend on a deviceinfo being
present in the rootfs (which may not always be the case, e.g. when
building an image with mkosi), and it replaces the ExecStartPre with
a dependency on modprobe@zram.service so that modprobe is only called
once if other services happen to also depend on this module (which is
unlikely, but a nicer way to handle this)

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6566
2025-06-04 20:24:31 +02:00
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:

https://github.com/torvalds/linux/commit/4127e13c9302f6892f73793f133ea4b4fffb2964

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 ConnollyandClayton Craft 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]: https://gitlab.alpinelinux.org/calebccff/abuild/-/tree/85969550e41b80c82d90cd07fec7b276e8a1e1ee

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