785 Commits
Author SHA1 Message Date
Achill Gilgenast 9479a409e3 systemd/postmarketos-base-systemd: remove pd-mapper.service preset
Closes: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/work_items/2936

[skip ci]

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8772>
2026-09-06 22:16:51 +02:00
Aelin 7d5b4e3816 systemd/systemd: build with SELinux support
Now that Alpine's linux-pam comes with pam_selinux.so, we will no longer
break setups that don't include SELinux.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9482>
2026-09-04 14:09:32 -07:00
Clayton Craft bb647faf54 systemd: upgrade to 262-rc1
- sysvinit-path was removed
- all carried patches are in the release

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9472>
2026-09-02 14:57:17 +00:00
Ingo Reitz fa4c53765b systemd/run0-sudo-shim: new aport
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9461>
2026-09-01 15:10:02 +00:00
grorp c7e574b497 systemd/gnome-remote-desktop: fork with systemd support
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9425>
2026-08-25 12:26:13 +00:00
Pablo Correa Gómez ce17ff1de6 systemd/postmarketos-base-systemd: run tests using abuild check
Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9349>
2026-08-23 12:47:31 +00:00
Clayton Craft 369c5ac3b6 extra-repos/systemd: backport timesyncd DNSSEC NTP fix
43380.patch was merged upstream but is not yet in a release. The other
two patches are implicit dependencies of this patch and had to be
backported as well. They move json parsing into shared code and switch
resolvectl's query path to use varlink. They are large, but *seem* low
risk.

Fixes #4831

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9416>
2026-08-22 23:47:32 +00:00
Stefan Hansson 073ff887b0 systemd/phosh: add patch to improve splash timeout handling
This helps slow devices like the PinePhone particularly, where currently
many apps end up launching after the splash has timed out which creates
an awkward gap where the wallpaper temporarily is displayed and Phosh
says that the app either crashed or is slow to launch.

While this patch does not fix the problem entirely, in my testing it
helps many Flatpak apps launch before the splash goes away leading to a
much smoother and less confusing user experience. As such I think this
is worth backporting.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9420>
2026-08-21 13:17:22 +02:00
Achill Gilgenast 9c6fe1246e systemd/mutter: upgrade to 50.4
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9413>
2026-08-21 08:49:15 +00:00
Achill Gilgenast 7c699fefcf systemd/gnome-shell: upgrade to 50.4
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9413>
2026-08-21 08:49:15 +00:00
Achill Gilgenast 5fc606c523 systemd/gdm: upgrade to 50.2
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9413>
2026-08-21 08:49:15 +00:00
Markus Göllnitz 3202270b76 systemd/gdm: rebuild against accountsservice 999926.27.3-r0
Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9412>
2026-08-20 16:07:44 +02:00
Markus Göllnitz 1056cb6017 systemd/accountsservice: upgrade to 26.27.3
This is the same version as in Aline.

Link: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/107007
Closes: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/work_items/4845

Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9412>
2026-08-20 16:07:38 +02:00
Achill Gilgenast 8c9e7d6c50 systemd/phosh: upgrade to 0.57.0
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9411>
2026-08-20 15:26:19 +02:00
Aelin 2bf2f3329e treewide: remove pmb:strict from options
pmbootstrap 3.11 is strict-by-default and previous versions had a broken
implementation which broke upon a full bootstrap of e.g. the systemd
repo. I think it's therefore safe to remove this already, even without
bumping pmbootstrap_min_version.

[ci:skip-vercheck]: doesn't affect any artifacts

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9112>
2026-08-14 11:05:44 +02:00
Clayton Craft 0fbc8f4c3f systemd/postmarketos-base-systemd: depend on systemd-resolved
Some reasons why I think we want to use resolved by default:

- split DNS support (e.g. for VPNs)
- DNS caching
- roaming (switching between wifi, cell, etc) is handled better since DNS
  is tracked per link and the cache is flushed on config changes, so
  there are no stale DNS answers when a device switches
- allows users to easily enable dnssec and DoT (even if we aren't
  enabling these by deafult right now)

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9109>
2026-08-08 20:02:10 +00:00
Clayton Craft 2b05e6da6b systemd/postmarketos-base-systemd: symlink resolv.conf to resolved stub
This logic is "borrowed" from Fedora, and replaces /etc/resolv.conf with
a symlink to the systemd-resolved stub. Fedora does this from an install
script, but that doesn't work for image-based installs since those never
run install scripts on the device, and /etc persists across updates.
I've also seen cases in testing where the symlink was removed by e.g.
accidentally running resolvconf or something similar. So
this runs from a oneshot unit at boot instead, which is ordered before
network-pre.target so NetworkManager doesn't get there first. The old
resolved.post-install script is dropped since the unit covers both cases.

There are some conditions where resolv.conf is **not** replaced:

- when resolv.conf is already a symlink
- when systemd-resolved isn't enabled
- when its stub listener is disabled (via DNSStubListener= in config)
- when systemd isn't running, since resolved isn't either and replacing
  resolv.conf would just break dns (e.g. when running the unit's script
  by hand)
- when resolv.conf is a bind mount (e.g. in a chroot or container)

This assumes that if a user/sys admin wants to hand-roll their own
resolv.conf, that they either disable the systemd-resolved unit or
disable the stub listener in config if they want to use foreign mode.

The resolved drop-ins are also renamed with a 10- prefix, to match the
numbering ranges UAPI.6 recommends for vendor config in /usr.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9109>
2026-08-08 20:02:10 +00:00
Aster Boese be99b6a5bf systemd/postmarketos-base-systemd: remove fbkeyboard preset
The UI package was deleted, so this preset is unneeded.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9176>
2026-08-06 00:39:15 +00:00
Bart Ribbers ca7d0054dd systemd/plasma*: upgrade to 6.7.4
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9252>
2026-08-05 19:19:01 +00:00
Clayton Craft bf92f55a5a systemd/postmarketos-base-systemd: add preset for routewrangler
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9005>
2026-08-05 11:02:07 -07:00
Clayton Craft 758378e049 systemd/postmarketos-base-systemd: only start unudhcpd when UDC exists
It only makes sense to start unudhcpd when a UDC exists, to prevent
unudhcpd starting when there's e.g. only a physical ethernet device.

Fixes #4802

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9243>
2026-08-05 14:26:34 +00:00
Ferass El Hafidi 5d7568dfcf systemd/postmarketos-base-systemd: preset buffyboard.service
Else the buffyboard UI does not work under systemd.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9236>
2026-08-04 16:25:54 +00:00
Pablo Correa Gómez f01a127509 systemd/mutter: fix log spam
This patch from upstream fixes an assertion error that got printed multiple
times per second, causing logs that balooned up to over a gigabyte after a few
hours of usage:

(gnome-shell:4977): Clutter-CRITICAL **: 20:23:10.859: clutter_input_focus_set_cursor_location: assertion 'CLUTTER_IS_INPUT_FOCUS (focus)' failed

The same patches are also used by Debian[1] and already pushed to aports[2]

[1] https://salsa.debian.org/gnome-team/mutter/-/commit/6f11d10a47ffc824db35a3ff7d6ea46b6cc14faf
[2]
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/104720

[ci:skip-build] Already built in CI

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9223>
2026-08-03 13:34:00 +00:00
Clayton Craft 1b20c249cf systemd/postmarketos-base-systemd: fix preset template instance handling
This fixes a bug where template presets with a specified instance were
not being handled. The install script previously parsed the entire line,
including the instance(s) and ran 'systemctl preset' on it all, e.g.
'systemctl preset unudhcpd@.service usb0'.

The script will now:

- detect lines that contain a template + instance(s)
- diff the instances
- run preset on template@instance for all added or removed instances

Template presets that don't have any instances specified in the preset
file (because they have a DefaultInstance= set) are treated just like
any other unit since we can run preset on those and it enables the
template with the default instance.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9026>
2026-07-28 22:57:00 +00:00
Clayton Craft 6d00e47c78 systemd/postmarketos-base-systemd: fix unudhcpd@ preset
According to systemd.preset, which I totally should have read before, we
were not specifying the instance correctly which resulted in this unit
not actually being enabled by default.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9026>
2026-07-28 22:57:00 +00:00
Clayton Craft 3903172aef systemd/postmarketos-base-systemd: drop usb-moded-developer-mode preset
This unit/script shouldn't be run on boot. Mode switching should be
managed by usb-signaller

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9026>
2026-07-28 22:56:57 +00:00
Clayton Craft 8079d33b71 systemd/fwupd: fix compilation on armv7 qemu
Unblocks bpo

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9131>
2026-07-25 22:57:03 +00:00
Aster Boese a589ec7d4f systemd/dsme: remove openrc subpackage
Every other package in extra-repos/systemd removes their openrc
subpackage and openrc scripts. Therefore, dsme should too.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9128>
2026-07-24 21:04:48 +00:00
Clayton Craft 1c7ff6bc68 systemd/cups: backport patch to install sysusers config
Upstream cups has support for generating/installing sysuser config but
it's not yet in a release version. Backport the patch to when it gets
into a release, we'll know to drop the patch.

Fixes #4649

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8875>
2026-07-24 20:16:23 +00:00
Clayton Craft 6b57dc9c72 systemd/fwupd: fork from Alpine to build with systemd support
Unfortunately we can't build fwupd with only unit files, we have to link
against systemd for sd-notify support or else the units probably aren't
going to be properly managed.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
[ci:skip-vercheck] pkgver/pkgrel match upstream

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7245>
2026-07-24 18:06:02 +00:00
Aelin 9c68abf912 systemd/systemd: upgrade to 261.2
[ci:skip-build]: already built successfully in CI

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9121>
2026-07-24 07:40:53 -07:00
Stefan Hansson 55a2caafad systemd/networkmanager: upgrade to 1.56.1
And add patch to fix hotspot breakage.

Closes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/work_items/4118

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9053>
2026-07-24 14:12:00 +00:00
Aster Boese 3004382975 systemd: remove eudev provide
No package in aports or pmaports directly depends on eudev
anymore, meaning that this eudev provide is not needed and
only the udev virtual package provide is needed.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8974>
2026-07-23 15:35:37 -07:00
Aelin 131f1be52e systemd/systemd: disable ldconfig
The ldconfig service does not serve a purpose on musl systems.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9111>
2026-07-22 15:24:13 +00:00
Aelin 6e90d14c4d systemd/systemd-stage0: disable unnecessary options
This brings us down from 2400 to around 1000 targets when compiling
systemd-stage0. dbus still builds fine after these changes.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9093>
2026-07-20 15:35:16 +00:00
Clayton Craft ff24e3ab4c systemd/postmarketos-base-systemd: enable ssh pam inhibit
This enables pam_systemd for sshd sessions and configures it to inhibit
sleep when a session is open.

This config should be upstreamed to aports once support is merged in
systemd: https://github.com/systemd/systemd/pull/42275

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8672>
2026-07-19 19:51:56 +00:00
Clayton Craft a372a2f2c5 systemd/systemd: backport patch adding inhibit support to pam_systemd
This was merged upstream but won't be in a release until v262

https://github.com/systemd/systemd/pull/42275

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8672>
2026-07-19 19:51:56 +00:00
Clayton Craft e4a8fb375c systemd/postmarketos-base-systemd: remove sleep-inhibitor preset
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8672>
2026-07-19 19:51:56 +00:00
Clayton Craft 594e361a71 systemd/postmarketos-base-systemd: inhibit sleep when apk is running
This uses some lightweight tools with systemd-inhibit to block sleep and
shutdown when apk is running. This is being installed in a new subpkg
that is pulled in only when apk-tools is installed, so that this is not
installed on duranium.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8672>
2026-07-19 19:51:53 +00:00
Aster Boese 5f836d5b2c treewide: add ending newline to files missing it
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8197>
2026-07-18 11:51:57 +02:00
Bart Ribbers 17d6f37984 systemd/plasma: upgrade to 6.7.3
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9028>
2026-07-15 08:11:00 +02:00
Clayton Craft 994ed89373 systemd/systemd: add Ollie as co-maintainer
Fixes #4681

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
[ci:skip-vercheck]

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9004>
2026-07-12 13:02:20 -07:00
Bart Ribbers 1bbed4bf52 systemd/kjournald: upgrade to 26.04.3
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8990>
2026-07-12 08:17:39 +02:00
Aster Boese 14897810c9 systemd: disable compat-sysv-interfaces
compat-sysv-interfaces is meant for systems that
already have technical debt from switching from
sysv. postmarketOS does not have this, so this
is not needed.

All this option does is enable runlevels 0-6
and install legacy.conf, which also doesn't
work with our packaging because it installs
symlinks who's target only exists in
subpackages.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8996>
2026-07-11 14:47:40 +00:00
Clayton Craft 8d0cc81e23 systemd/postmarketos-base-systemd: move install= to top level
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8993>
2026-07-10 21:44:39 +00:00
Clayton Craft 37e1370ae9 systemd/postmarketos-base-systemd: don't enable time-wait-sync
This removes the other half of the workaround for #3816, that should have been in !8487.

Fixes #4687

This reverts commit 5e435f9669.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8993>
2026-07-10 21:44:39 +00:00
Achill Gilgenast 8433274c9a systemd/postmarketos-base-systemd: enable phosh-os-updater.service
See HEAD~

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8952>
2026-07-09 22:57:07 -07:00
Aster Boese 5e5a451de1 systemd: remove unnecessary provider_priority's
When all the provides are versioned, provider_priority does nothing, so it is safe and correct to remove.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8889>
2026-07-08 06:55:12 +02:00
Aster Boese 61ee5c6fe8 treewide: remove contributor comments
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8950>
2026-07-06 20:41:42 +02:00
Robert Eckelmann 5b9f67f79e extra-repos/systemd: open-iscsi, open-isns new aports
Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>

[ci:skip-vercheck]

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8938>
2026-07-05 20:36:53 +09:00