Commit Graph
11734 Commits
Author SHA1 Message Date
Clayton Craft ec97533995 systemd/cups: upgrade to 2.4.13
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7036>
2025-09-12 16:32:51 +00:00
Achill Gilgenast 55e34126a2 systemd/gnome-logs: upgrade to 49.0
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7035>
2025-09-12 16:30:27 +00:00
postmarketOS CI baf39aa5df linux-next: upgrade to next-20250912 2025-09-12 15:50:12 +00: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
Pablo Correa Gómez dbd88de572 device-samsung-a40: stop depending on removed samsung-a40-headers
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7034>
2025-09-12 13:13:38 +02:00
Pablo Correa Gómez 5c1bb690bf linux-samsung-a40: do not provide linux-headers
Providing linux-headers is an unresolved issue (see
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/152)
and this is currently breaking the build with
"pmbootstrap config build_pkgs_on_install True".
So remove them.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7034>
2025-09-12 13:06:26 +02:00
Danct12 a3d9cb4505 linux-pine64-pinetab2: Upgrade to kernel 6.15.10-danctnix1
The latest kernel supposedly improve WLAN driver stability and
fixed a major bug with VOP2 DRM driver where the display would not
come on after waking up from sleep.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6947>
2025-09-12 01:44:13 +00:00
Peter Mack 6050175407 main/mobile-config-firefox: upgrade to 4.6.1
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7032>
2025-09-11 22:41:18 +00:00
Aster Boese a6e89ad0b2 samsung-manta: /lib/{modprobe, modules-load}.d -> /usr/lib/{modprobe, modules-load}.d
The previous commit moving these to only `/lib/` was an error on my part for
misreading the manpages of kmod. Alpine *does* correctly handle modules under
`/usr/lib/`, so this is fine.

Signed-off-by: Aster Boese <asterboese@mailbox.org>

[ci:ignore-count]

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7033>
2025-09-12 00:32:07 +02:00
Aster Boese ef79caff27 samsung-goyawifi: /lib/{modprobe, modules-load}.d -> /usr/lib/{modprobe, modules-load}.d
The previous commit moving these to only `/lib/` was an error on my part for
misreading the manpages of kmod. Alpine *does* correctly handle modules under
`/usr/lib/`, so this is fine.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7033>
2025-09-12 00:31:37 +02:00
Aster Boese c24b54f075 google-nyan-big: /etc/modprobe.d -> /usr/lib/modprobe.d
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7033>
2025-09-12 00:30:42 +02:00
Aster Boese 50b81f3153 asus-me176c: /etc/modprobe.d -> /usr/lib/modprobe.d
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7033>
2025-09-12 00:30:42 +02:00
Aster Boese 7767d5b707 google-nyan-blaze: /etc/modprobe.d -> /usr/lib/modprobe.d
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7033>
2025-09-12 00:30:42 +02:00
Aster Boese 80d2717550 lg-hammerhead: /etc/modprobe.d -> /usr/lib/modprobe.d
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7033>
2025-09-12 00:30:42 +02:00
Aster Boese 1c5f9f545c pine64-pinenote: /etc/modprobe.d -> /usr/lib/modprobe.d
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7033>
2025-09-12 00:30:42 +02:00
Aster Boese a3f184cd27 samsung-hlte: /etc/modprobe.d -> /usr/lib/modprobe.d
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7033>
2025-09-12 00:30:07 +02:00
Aster Boese 53f37dc4b2 samsung-klte: /etc/modprobe.d -> /usr/lib/modprobe.d
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7033>
2025-09-12 00:19:32 +02:00
Aster Boese 9a2dce5125 samsung-degaswifi: /etc/modprobe.d -> /usr/lib/modprobe.d
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7033>
2025-09-12 00:12:12 +02:00
Dan 40d43a3731 samsung-a40: new device
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6916

[ci:skip-build]: already built successfully in CI
2025-09-11 22:44:00 +02:00
postmarketOS CI a62beeff2a linux-next: upgrade to next-20250911 2025-09-11 15:51:14 +00:00
BetaRays a0e8b199be samsung-j5(x): depend on Samsung modem workaround
This was required to get a working modem on J5 2015 and 2016, see:
 - Closes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3860
 - https://wiki.postmarketos.org/wiki/Samsung_Galaxy_J5_2015_(samsung-j5)#Modem
 - https://wiki.postmarketos.org/wiki/Samsung_Galaxy_J5_2016_(samsung-j5x)#Modem

[Raymond: add j5]
Co-developed-by: Raymond Hackley <wonderfulShrineMaidenOfParadise@postmarketos.org>
2025-09-11 08:27:03 +00:00
Clayton Craft ce67c46bd4 main/devicepkg-utils: initialize SOURCE_DEVICEINFO_ROOT
Otherwise things that `set -u` (like boot-deploy) fail

[ci:skip-build]: already built successfully in CI

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7028>
2025-09-10 09:18:57 -07:00
postmarketOS CI 1d6272d3e5 linux-next: upgrade to next-20250910 2025-09-10 15:51:53 +00:00
Luca Weiss c11b4a74f2 device-fairphone-fp3: modem, audio & qbootctl
While the modem has worked for quite a while on mainline, for some
reason some dependencies were never added to the device package.

And add the firmware for the audio amplifier on Fairphone 3 since it's
also supposed to work now.

And install qbootctl (and enable it by default) to mark the current slot
as successful to not get stuck in the bootloader after a couple of
reboots.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7010>
2025-09-10 15:20:51 +00:00
Luca Weiss 2cb88d5c6d firmware-fairphone-fp3: remove compat symlinks, add audio amp firmware
The symlinks are not needed anymore with the newest kernel, so clean
them up.

And package up the aw8898_cfg.bin firmware/config file for Fairphone 3.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7010>
2025-09-10 15:20:51 +00:00
Matus Mastena 92105c6dd5 samsung-a53x: new device
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6987

[ci:skip-build]: already built successfully in CI
2025-09-10 17:12:48 +02:00
Stefan Hansson d9c3fa80a8 main/devicepkg-utils: allow overriding root directory in source_deviceinfo
This can be used to source the deviceinfo of an arbitrary rootfs, not
just the current one. In particular, this will be used in the
boot-deploy CI.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7026>
2025-09-10 14:43:34 +00:00
Luca Weiss c3f0506216 modem/rmtfs: upgrade to 1.1.1
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7009>
2025-09-10 11:42:12 +00:00
Luca Weiss 57a6a580f4 modem/pd-mapper: upgrade to 1.0
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7009>
2025-09-10 11:42:12 +00:00
dabao1955 daba0ccf59 linux-xiaomi-raphael: Fix adreno gpu firmware path, add led support and add camera kernel driver support
But dts not defined about camera port.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7024>
2025-09-10 11:38:35 +00:00
Stefan Hansson 0ecf51c505 main/boot-deploy: update link
Link to the new repo location instead of the old one that isn't updated
any more.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7022>
2025-09-10 08:23:47 +00:00
dabao1955 b49c136699 device-xiaomi-raphael: Fix missing firmware dep
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7020>
2025-09-10 08:21:22 +00:00
Igor Belwon 1aea255014 device-nothing-tetris: Enable flashing, sdcard and drm
Flashing is enabled because of lplk and no longer requiring an uniLoader
dependency.

SD Card was incorrectly set as unavailable before, this device has an SD
card slot, fix the property.

This device now supports display via simpledrmfb, so enable
deviceinfo_drm. Device can start Phosh, albeit with some graphical
glitches, and obviously no GPU (yet...).

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7018>
2025-09-10 08:18:24 +00:00
Igor Belwon 9b2e0d4e5e linux-postmarketos-mediatek-mt6878: upgrade to 6.17-rc5
This kernel upgrade BREAKS booting with uniLoader and now requires lplk
to boot. The change is documented on the Wiki.

While we're at it, enable simpledrm.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7018>
2025-09-10 08:18:24 +00:00
dabao1955 0ec0b702e8 firmware-xiaomi-raphael: upgrade to 20250908
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7015>
2025-09-10 10:14:48 +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
Clayton Craft 2a4d4f8b61 systemd/postmarketos-base-systemd: fix handling of added and removed units in trigger
Apparently the eval trick doesn't work for passing vars if the var to
set is the same as the var for the value, in this case the caller of
this function was using `added_paths` and `removed_paths`. Shell scripts
suck.

This was missed in the tests because the unit tests call
trigger_unit_presets directly.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7025>
2025-09-09 17:19:47 +00: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
postmarketOS CI 0b582b4d1e linux-next: upgrade to next-20250909 2025-09-09 15:49:45 +00:00
Clayton Craft aed388ea63 systemd/cups: disable examples / ipptool on all archs
Apparently this fails on other archs when cross compiling, not just
riscv64. I hit it locally when building x86_64 on aarch64. bpo is
hitting it when trying to build aarch64 on x86_64. This is kinda of a
big hammer, but I think we'll be able to drop this cups fork when abuild
systemd split func support is upstreamed, and bpo is currently blocked
trying to build changes to support our effort to upstream that abuild
patch.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7023>
2025-09-09 14:46:02 +00:00
Luca Weiss 8cd50f8c87 soc-qcom-msm8953: update ucm config
Update to the latest master branch in msm8953's alsa-ucm-conf.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7017>
2025-09-09 12:36:05 +00:00
Clayton Craft 21a5b834e6 main/boot-deploy: upgrade to 0.20.1
Fixes a breaking regression in 0.20.0

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7021
[ci:skip-build]: bpo hasn't built an abuild update for all archs, and will take a while to be done
2025-09-08 12:15:47 -07:00
Jens Reidel a42bce2407 cross/busybox-static-*: upgrade to 1.37.0-r23
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7019

[ci:skip-build]: already built successfully in CI
2025-09-08 20:41:46 +02:00
postmarketOS CI a012a36ccc linux-next: upgrade to next-20250908 2025-09-08 15:50:32 +00:00
Clayton Craft 2c9a5d2d1c main/boot-deploy: upgade to 0.20.0
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7014

[ci:skip-build]: already built successfully in CI
2025-09-08 08:09:02 -07:00
Clayton Craft ef97fd8c60 systemd/cups: disable examples on riscv64
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6892

[ci:skip-build]: already built successfully in CI
2025-09-08 07:33:54 -07:00
Clayton Craft 39922de34e ci/shellcheck: run on pmos-base-systemd's apk trigger
This trigger has a lot going on, so let's make sure it always passes
shellcheck. It's not picked up by the normal search for triggers in this
script because the actual logic for the trigger is broken out from the
.trigger file.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6892
2025-09-08 07:33:54 -07:00
Clayton Craft 469aae3436 postmarketos-base-systemd: rework unit preset, reload/restart, and cleanup handling
This reworks the preset, reload/restart, and cleanup handling and moves
it from a (proposed [1]) abuild patch that would generate install
scripts for every -systemd package to a series of commit hooks and
a trigger that would exist in this package. This was made
possible by using `treescan`, which quickly[2] recursively scans
/usr/lib/systemd and allows the commit hook and trigger to diff units
before and after an install or uninstall transaction.

I chose to put the trigger and commit hook in pmos-base-systemd instead
of the systemd package because:

1) It's annoying to have to rebuild systemd just to update the logic in
   this script. Rebuilding this package is MUCH faster (nothing to
   compile)

2) IF the systemd package moves elsewhere (i.e. out of pmaports), it's
   unclear if this preset stuff would follow it, and it's safer for us to
   keep it separate so know it's always being included in pmOS+systemd
   installs. It can always be moved later if we decide to.

More info on how the three situations are handled by this patch:

Presets: Pre-commit hook captures current unit file list (using
treescan) before changes, then the trigger on /usr/lib/systemd/system
captures (using treescan) the state after changes and diffs them. It
picks out only unit files that were added, and runs systemctl preset to
apply any preset config that might exist for them.

Reload/restart: This relies on manual post-upgrade scripts in packages
that need it. post-upgrade scripts should mark units with systemctl
set-property ... Markers=+needs-reload/restart. Actual reload/restart
handled by the existing systemd.trigger that queries these markers...
This is going to be a bit annoying for package maintainers[3], but I
don't think many packages will *need* this. As of today, there are 0
packages explicitly requesting reload/restart on upgrade. This also
means there will be no automatic detection of whether a unit should be
reloaded/restarted. AFAIK Fedora doesn't support this, packages have to
explicitly request a reload or restart.

Cleanup: The pre-commit hook uses treescan to capture systemd unit
directory state before transactions and the trigger identifies removed
units (using treescan + diff). It then finds broken symlinks in
/etc/systemd/ that point to any newly removed unit files from the
transaction, and removes only them.

Benefits:

- Simple abuild patch for -systemd split func

- Uses existing APK mechanisms (commit hooks, triggers). Hooks can see
  before/after transaction state for cleanup.

- Logic updates don't require rebuilding all packages.

Tradeoffs:

- Requires additional per-package complexity to support
  reload/restart functionality.

- Moves unit discovery/parsing for preset and cleanup from build-time to
  runtime (every device does this work vs. once at build)

- Package behavior varies based on installed trigger/hook
  versions rather than being deterministic per package version.

- There's a (tiny) risk of some operations being race-y, e.g. if the
  user is actively enabling/disabling/adding unit files between apk
  running the pre-commit hook and the trigger firing... It seems
  unlikely this will cause issues, but 🤷‍♂️

1. https://gitlab.alpinelinux.org/alpine/abuild/-/merge_requests/394

2. I used hyperfine to measure performance of treescan on my laptop,
with lots of units installed, and it was ~20ms without disk caching

3. A post-upgrade that would mark a unit for reload might look like
this:

```
if [ -d "/run/systemd/system" ]; then
	echo "Marking sshd.service for reload..."
	systemctl set-property sshd.service Markers=+needs-reload
fi
```

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6892
2025-09-08 07:33:54 -07:00
Clayton Craft 75d8dc9bd2 ci/testlib: add asserts for string contains/doesn't contain substring
For testing if a given string contains a given subtring, for example
`assert_contains "foo bar bazz" "bar"` would pass,
but `assert_contains "foobar bazz" "bar"` would fail.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6892
2025-09-08 07:33:54 -07:00
Clayton Craft 7d84c11c52 ci/testlib: add asserts for file exists/not exists
For testing whether a given file exists or not exists

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6892
2025-09-08 07:33:54 -07:00