Commit Graph
10063 Commits
Author SHA1 Message Date
jane400 d65fab1d87 systemd/pipewire: pull upgrade from upstream/aports (MR 5776) (MR 5563)
lto makes cross-compiling CI unhappy, disabling it makes CI happy again.

[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:35 +01:00
Clayton Craft 5fa6664045 extra-repos/systemd: fix deinstall macro (MR 5746) (MR 5563)
This wasn't actually working because it was using an unset var when
calling 'systemctl disable'.

[ci:skip-build]: CI cannot complete build testing because of infra
issue, but that's fine because this change doens't actually require
compiling systemd.
2025-01-10 13:02:35 +01:00
Clayton Craft aa7f9531f6 systemd/plasma-workspace: rebase apkbuild on upstream/aports (MR 5762) (MR 5563)
New dependencies were not included so this failed to build properly. The
other changes were pulled from the version in aports, to make rebasing
in the future easier.

[ci:skip-build]: CI cannot complete build testing because of infra
issues downloading from download.kde.org
2025-01-10 13:02:35 +01:00
fossdd ebfa97f3ac systemd/systemd-services: manually issue chvt on start of phosh (MR 5757) (MR 5563)
libseat 0.9.0 no longer performs an automatic VT switch when taking
control of a seat to allow sessions to be started in the background. As
consequence, one must manually switch if one wants a background session
to be immediately activated.

Issue a chvt on ExecStartPost, when the service is deemed running.

Upstream: https://gitlab.gnome.org/World/Phosh/phosh/-/merge_requests/1566
[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:35 +01:00
Clayton Craft 2807210d02 systemd/postmarketos-base-systemd: disable journald audit feature (MR 5754) (MR 5563)
When kernel auditing is enabled and things crash, this leads to a lot of
really annoying messages printed to the console/TTY that can interfere
with debug. Kernel audit info can be reached using other userspace
tools.

[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:35 +01:00
Clayton Craft 6c2c528e7b systemd/postmarketos-base-systemd: add presets for swclock-offset (MR 5685) (MR 5563) 2025-01-10 13:02:35 +01:00
Clayton Craft c6a65bc393 systemd/pmos-base-systemd: disable sd-resolved by default (MR 5630) (MR 5563)
Fixes #3190
2025-01-10 13:02:35 +01:00
Bart Ribbers a9498ee193 extra-repos/systemd/plasma*: upgrade to 6.2.2 (MR 5734) (MR 5563)
[skip ci]: downloading from KDE servers seems to be broken / not
working, so checksum verify never passes. checksums were verified
locally
2025-01-10 13:02:35 +01:00
Clayton Craft 6a57b83489 systemd/gnome-shell*: remove dependency on networkmanager-common (MR 5563)
This package no longer exists on Alpine edge
2025-01-10 13:02:35 +01:00
Caleb Connolly b84e52aabd systemd: fix udevd path (MR 5563)
We actually want usr/lib/udevd here, not lib/udevd. This fixes the
initramfs not building and some other weirdness.

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:35 +01:00
jane400 6a927cb3f2 extra-repos/systemd/systemd: support split-usr again (MR 5661) (MR 5563)
Do note that this commit was amended after the fact, the patch got
inlined into this repo to not brick this branch if the MR gets pushed
to.

[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:35 +01:00
jane400 1ef9e30d7e extra-repos/systemd/apk-tools: drop (MR 5661) (MR 5563) 2025-01-10 13:02:35 +01:00
jane400 08cfb992d3 extra-repos/systemd: adjust bootstrap logic to remove usr-merge (MR 5661) (MR 5563) 2025-01-10 13:02:35 +01:00
jane400 ae8a27d8cd systemd/systemd: upgrade to 256.5 (MR 5560) (MR 5563) 2025-01-10 13:02:35 +01:00
Andrei Zisu 10c68a927b main/postmarketos-ui-gnome-*: enable systemd by default (MR 5563)
[ci:skip-vercheck]
2025-01-10 13:02:35 +01:00
Bart Ribbers 35ddc20d25 extra-repos/systemd/systemd-services: fix subpackage names for Plasma and Waydroid services (MR 5651) (MR 5563)
The package names should be the original package names + the -systemd
suffix. I did this wrongly breaking both KDE Plasma and Waydroid
2025-01-10 13:02:35 +01:00
Aster Boese 75dac319ea extra-repos/systemd/systemd: enable sysext and sysusers (MR 5597) (MR 5563) 2025-01-10 13:02:35 +01:00
Clayton Craft 39a9c0098d extra-repos/systemd/postmarketos-base-systemd: add waydroid presets (MR 5592) (MR 5563) 2025-01-10 13:02:35 +01:00
Bart Ribbers 845da18e19 extra-repos/systemd/systemd-services: add waydroid and related services (MR 5592) (MR 5563) 2025-01-10 13:02:35 +01:00
Caleb Connolly 6aaad5770f systemd: gnome-shell-mobile: upgrade to 46.1 (MR 5629) (MR 5563)
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>

[ci:skip-build] already built in CI
2025-01-10 13:02:35 +01:00
Bart Ribbers ff2781e489 extra-repos/systemd/systemd-services: take over service files from origin packages (MR 5631) (MR 5563)
We were only forking kactivitymanagerd and kglobalacceld for their
service files
2025-01-10 13:02:35 +01:00
Bart Ribbers 3ed7c30cc7 extra-repos/systemd/kde*: upgrade to latest versions (MR 5590) (MR 5563)
[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:35 +01:00
Clayton Craft 60f31ad190 systemd/pmos-base-systemd: add preset for udisks2 (MR 5589) (MR 5563)
Provides disk mounting services for many UIs

[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:35 +01:00
Clayton Craft bc35d9ddaf systemd/systemd-services: fix nftables unit (MR 5589) (MR 5563)
The type was erroneously set as 'simple', and since we are setting
ExecStop we actually need to set RemainAfterExit to avoid running
ExecStop when the oneshot service runs. This is because nft returns/
exits pretty much immediately after applying the config.

fixes #2846
2025-01-10 13:02:35 +01:00
Clayton Craft 3c41129561 systemd/systemd-services: add udisks2 unit file (MR 5589) (MR 5563) 2025-01-10 13:02:35 +01:00
Clayton Craft ea62919155 systemd/systemd-services: add evolution-data-server user services (MR 5589) (MR 5563)
No presets because these are dbus activated.

fixes #2910
2025-01-10 13:02:34 +01:00
Bart Ribbers 4203f655ac extra-repos/systemd/systemd-services: add kded (MR 5593) (MR 5563) 2025-01-10 13:02:34 +01:00
Caleb Connolly bd478d9307 systemd-services: add lxc (MR 5598) (MR 5563)
add the lxc template service

Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:34 +01:00
Clayton Craft 0850de5098 systemd/pmos-base-systemd: presets: fix some preset unit names, add sshd (MR 5588) (MR 5563)
The unit name to kill pbsplash had a typo, and added a preset for sshd.

systemd didn't seem to match `phosh` or `gdm` to the correct unit,
unless they had `.service` added, so this was fixed.

Presets in this section were also sorted.
[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:34 +01:00
Clayton Craft dfc186bc9d systemd/systemd: fix default disable preset (MR 5588) (MR 5563)
This didn't actually seem to do anything, resulting in some weird stuff
being enabled by default even though we did not specify a preset for it
(e.g. see !5556)

Based on my interpretation of the systemd preset manpage, this file
should be parsed last. It says that if a unit name has a preset that
was already configured in some previously parsed preset file, then any
matches after do not apply. This means that the `disable *` should not
disable any previously enabled (in previous .preset files) units. When
the unit name is omitted from the `disable` command, it seems to be a no-op.

Fixes !5207
2025-01-10 13:02:34 +01:00
Clayton Craft c144c1663f systemd/postmarketos-base-systemd: depend on newer linux-pam (MR 5579) (MR 5563)
[ci:skip-build] already built successfully in CI
2025-01-10 13:02:34 +01:00
Clayton Craft a597ad4c8d systemd/linux-pam: upgrade to 1.6.1-r1 (MR 5579) (MR 5563)
pkgver and pkgrel match aports version

APKBUILD was rebased onto alpine aports version
2025-01-10 13:02:34 +01:00
Clayton Craft 8c67d01795 systemd/kmod: remove fork (MR 5572) (MR 5563)
Patches were merged upstream:
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/71426

[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:34 +01:00
Clayton Craft 96efb21568 systemd/pmos-base-systemd: disable multipathd by default (MR 5556) (MR 5563)
This causes systemd to get stuck restarting multipathd forever on boot if it runs on systems with no multipath hardware. When this happens, the system never finishes booting.

It doesn't seem like any UIs/devices enable the multipathd service by default in openrc, and that we just depend on multipath-tools for kpartx and stuff (and not the daemon that comes with it)

[ci:skip-build] already built successfully in CI
2025-01-10 13:02:34 +01:00
Clayton Craft 7ef5260766 systemd/pipewire: add install scripts for systemd presets (MR 5551) (MR 5563)
fixes #3153
2025-01-10 13:02:34 +01:00
Clayton Craft 5ddca30396 systemd/kmod: add fixes for usr merge (MR 5554) (MR 5563)
This patch was submitted upstream to Alpine aports in
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/71426

[ci:skip-vercheck]
[ci:skip-build] already built successfully in CI
2025-01-10 13:02:34 +01:00
Clayton Craft a25dbb6f71 systemd/kmod: fork from Alpine to support usr merge (MR 5554) (MR 5563)
actual patch to support usr merge will come later
2025-01-10 13:02:34 +01:00
Clayton Craft 56dde363be systemd/multipath-tools: upgrade to 0.10.0 (MR 5563)
rebased on aports
2025-01-10 13:02:34 +01:00
Caleb Connolly 3caf2b8cd0 systemd: upgrade gnome shell and mutter mobile to 46 (MR 5363) (MR 5563)
Upgrade to 46-mobile-0

[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:34 +01:00
Clayton Craft 4cb3bc64e8 systemd: gnome-settings-daemon-mobile: new aport (MR 5363) (MR 5563)
mobile shell has a fork of GSD which hard depends on systemd.
Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
2025-01-10 13:02:34 +01:00
jane400 3b2bcb676b systemd/gnome-settings-daemon: add systemd subpkg (MR 5377) (MR 5563)
also remove the elogind specific patch to use systemd for brightness
changes

Co-authored-by: Clayton Craft <clayton@craftyguy.net>

Note: the user services that the -systemd split pkg installs are not
enabled by default using systemd presets. None of them have 'Install'
sections, they appear to be mostly/all dbus activated instead.

[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2025-01-10 13:02:34 +01:00
jane400andClayton Craft 86d38add61 systemd/gnome-session: add systemd subpkg (MR 5377) (MR 5563)
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2025-01-10 13:02:34 +01:00
jane400 495e231c7a systemd/gdm: add systemd subpkg (MR 5377) (MR 5563) 2025-01-10 13:02:34 +01:00
jane400andClayton Craft 641cdf3c17 systemd/gnome-keyring: add systemd subpkg (MR 5377) (MR 5563)
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2025-01-10 13:02:34 +01:00
jane400andClayton Craft 90a828bb24 systemd/networkmanager: add systemd subpkg (MR 5377) (MR 5563)
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2025-01-10 13:02:34 +01:00
jane400 95d40be3b8 systemd/postmarketos-base-systemd: add base presets (MR 5377) (MR 5563)
Co-authored-by: Clayton Craft <clayton@craftyguy.net>

- Removed systemd-timesyncd, already enabled by a preset installed by
  the systemd package
- Removed default-disable.preset, it's already provided by the systemd
  package
- Removed user services from system preset
2025-01-10 13:02:34 +01:00
Clayton Craftandjane400 b44c0b4874 systemd/systemd-services: use systemd preset macro to configure services (MR 5377) (MR 5563)
also remove the rc_update workaround

Co-authored-by: jane400 <pmos@j4ne.de>
2025-01-10 13:02:34 +01:00
jane400 b579d07193 systemd/polkit: add comment about why systemd preset isn't used (MR 5377) (MR 5563)
Note: I/Clayton bumped the pkgrel because I don't want to
ci:skip-vercheck for *all* packages in the branch just to so that this
one doesn't fail.
2025-01-10 13:02:34 +01:00
jane400andClayton Craft 19eedbea6b systemd/systemd: configure presets for systemd services (MR 5377) (MR 5563)
Co-authored-by: Clayton Craft <clayton@craftyguy.net>
2025-01-10 13:02:34 +01:00
Clayton Craftandjane400 ca7c0be4ad systemd/systemd: add macros for package install scripts (MR 5377) (MR 5563)
These macros are based off of the upstream systemd RPM macros, but it
doesn't implement all of the macro functionality upstream. Initially
they will be used in the install scripts for apkbuilds that provide
systemd service unit files.

For example, a `$pkgname-systemd.post-install` script might have:
    . /usr/lib/systemd/systemd-apk-macros.sh
    systemd_service-post_install system sshd

And a `$pkgname-systemd.pre-deinstall` script might have:
    . /usr/lib/systemd/systemd-apk-macros.sh
    systemd_service_pre_deinstall user pipewire

One day maybe these could be upstreamed to systemd to provide some
apk/abuild compatible macros.

Co-authored-by: jane400 <pmos@j4ne.de>
2025-01-10 13:02:33 +01:00