1
0
Fork 0
mirror of https://gitlab.postmarketos.org/postmarketOS/pmaports.git synced 2025-07-24 15:25:13 +03:00
Commit graph

343 commits

Author SHA1 Message Date
Jens Reidel
d8f88307b8
systemd/postmarketos-base-systemd: add hexagonfs-firmware-loader to system preset
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6286
2025-03-10 15:09:22 +01:00
Clayton Craft
fcf2b87a26
systemd/postmarketos-base-systemd: enable systemd-oomd by default (MR 6246)
This enables systemd-oomd by default and provides some default
configuration for system.slice and for all slices that run under user.

This default slice config is inspired by what Fedora ships,
which seems like a sensible default for us to start with. Units/slices
within these two top-ish level slices can set their own limits and
actions if they want.
2025-03-09 00:14:20 -08: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
Bart Ribbers
dcf2e557e0
systemd/kwin: upgrade to 6.3.2.1 (MR 6283)
[ci:skip-build]: already built successfully in CI
2025-03-04 15:45:29 +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
4ba6a06771
systemd/plasma*: upgrade to 6.3.2 (MR 6266)
[ci:skip-build]: already built successfully in CI
2025-03-03 09:49:27 -08:00
Bart Ribbers
51fdc0ae3e
systemd/plasma*: upgrade to 6.3.1 (MR 6240)
[ci:skip-build]: already built successfully in CI
2025-03-03 18:38:51 +01:00
Bart Ribbers
986b312ab9
systemd/postmarketos-base-systemd: enable AsteroidUI-related services (MR 6160) 2025-03-03 18:20:08 +01:00
Bart Ribbers
98962e40c8
systemd/systemd-services: add AsteroidUI-related unit files (MR 6160) 2025-03-03 18:20:08 +01:00
Bart Ribbers
b7ac3683ad
systemd/dsme: fork from Alpine to add systemd support (MR 6160) 2025-03-03 18:20:07 +01:00
jane400
bec405cddf
systemd/linux-pam-pmos: upgrade to 1.7.0 (MR 6137)
pam_dump_runtime_dir isn't needed with systemd. if a user install this
module, this might break with logind integration..

[ci:skip-build]: already built successfully in CI
2025-03-03 18:06:19 +01:00
Teemu Ikonen
413070a04d
systemd/phosh: upgrade to 0.45.0 (MR 6277) 2025-03-01 17:47:54 +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
jane400
6da432b150
systemd/systemd: upgrade to 256.11 (MR 6145)
There are some notable changes:
- systemd-journal-upload is now available, but not tested
- pam files now live under `/usr/lib/pam.d`. users can easily override
  configuration by putting files under /etc/pam.d with the same name.
- journalctl should now work for `wheel` groups without privilege
  esclation to root. ACLs' for /var/log/journal should hopefully be
  set correctly now.
- /bin/udevadm /sbin/{init,udevd} are now provided by the APKBUILD itself
- The split-usr backport lives now in the downstream release.
2025-02-27 09:57:13 -08:00
jane400
ec84571f9b
systemd/phosh: use abuild's systemd splitfunc and launch dbus via socket-activation (MR 6243)
The current -systemd subpackage isn't getting installed due to the
invalid install_if statement. As abuild's fork in pmOS for systemd
specifies a default_systemd() and systemd() function, overriding it
here isn't needed.

The -systemd subpackage contains configuration for gnome-session in
systemd mode.
- By placing a file into systemd/user/gnome-session@phosh.target.d,
  we generate a valid gnome-session@phosh.target.
- The first invokation of gnome-session by phosh-session includes
  the arg `--session phosh`. When gnome-session sees a running
  systemd user manager via dbus, it will signal to systemd to start
  `gnome-session@phosh.target`.

As we switched to tinydm/autologin for phosh on systemd-edge, this
will only work when autologin also tries to load pam_systemd.so.
[ci:skip-build]: already built successfully in CI
2025-02-27 09:48:03 -08: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
0860262282
systemd/postmarketos-base-systemd: add zram-init/zram_swap preset (MR 6208)
I evaluated using systemd/zram-generator but decided against it for the following reasons:

1) it was more difficult to configure using the existing deviceinfo var
we have for zram_pct, this meant that we would ultimately couldn't have
a consistent way to configure zram stuff for all supported init systems

2) it's a Rust app, and was failing to build in CI for armv7, riscv64,
and armhf with some weird qemu crashes, failed tests, etc

3) zram-init Just Works, upstream ships a unit file for it so they
support running under systemd already
[ci:skip-build]: already built successfully in CI
2025-02-21 10:28:22 -08:00
Clayton Craft
73dd694b16
systemd/systemd-services: add zram-init unit file (MR 6208) 2025-02-21 10:28:22 -08:00
Luca Weiss
b48a3cf194
systemd/phosh: disable crossdirect (MR 6223)
Workaround since building for armv7 on x86_64 fails, see
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/2820

[ci:skip-vercheck] # no rebuild necessary
[ci:skip-build]: already built successfully in CI
2025-02-16 14:30:29 +01: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
302b38eb24
systemd/wireplumber: fix checksum 2025-02-13 14:03:07 -08:00
fossdd
4a1ee90648
systemd/wireplumber: upgrade to 0.5.8 (MR 6213)
Upstream: b9c39e72a1
2025-02-13 21:09:13 +01:00
Bart Ribbers
699303cc2e
systemd/plasma*: upgrade to 6.3.0 (MR 6197) 2025-02-13 11:42:01 -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
f3fb6c17a9
systemd/postmarketos-base-systemd: add system preset for cups (MR 6196)
[ci:skip-build]: already built successfully in CI
2025-02-12 15:41:14 -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
Clayton Craft
b23fff2aa5
systemd/postmarketos-base-systemd: add msm-modem-uim-selection to system preset (MR 6173)
Also sorted the list of qcom-related units
2025-02-12 14:56:35 -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
df218ae134
systemd/postmarketos-base-systemd: add Clayton as maintainer (MR 6183)
[ci:skip-build]: already built successfully in CI
2025-02-11 16:22:52 -08:00
Clayton Craft
a0673b8378
systemd/systemd-service: add Clayton as maintainer (MR 6183) 2025-02-11 16:22:48 -08:00
Clayton Craft
0354bfdc6f
systemd/postmarketos-base-systemd: add user preset for vvmd (MR 6183) 2025-02-11 13:06:36 -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
5d94bb2b2a
systemd/multipath-tools: upgrade to 0.11.0 (MR 6162)
Upstream:
- e6573fe9e8
- 95713c7ecc
2025-02-10 07:54:55 -08:00
fossdd
0d306f3c17
systemd/upower: upgrade to 1.90.7 (MR 6162)
Upstream: 3bd4895a7e
2025-02-10 07:54:55 -08:00
fossdd
ffe1943fa9
systemd/networkmanager: upgrade to 1.50.2 (MR 6162)
Upstream: df56b1fdb0
2025-02-10 07:54:54 -08:00
fossdd
bac08a8cfd
systemd/mutter: upgrade to 47.5 (MR 6162)
Upstream: 89b800d36c
2025-02-10 07:54:54 -08:00
fossdd
2315996964
systemd/gnome-shell: upgrade to 47.4 (MR 6162)
Upstream: de42c12822
2025-02-10 07:54:54 -08:00
fossdd
1d57524a38
systemd/polkit: upgrade to 126 (MR 6162)
Upstream: 9af7d6ac2e
2025-02-10 07:54:54 -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
fossdd
f13a93516b
systemd/phosh: fork from Alpine to include systemd files (MR 6150) 2025-02-09 13:55:50 +01:00
fossdd
e8d9a0273e
systemd/postmarketos-base-systemd: remove phosh preset (MR 6150)
phosh.service was removed, because phosh uses tinydm to start for the
moment
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
17d52ba258
systemd/postmarketos-base-systemd: add hexagonrpcd-adsp services to system preset (MR 6147)
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2025-02-07 10:09:39 -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