Commit Graph
100 Commits
Author SHA1 Message Date
Clayton Craft ac28c52eef main/postmarketos-ui-cosmic: depend on bluez
For working BT out of the box...

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6737
2025-07-05 09:31:45 +09:00
Clayton Craft 68c3ba73f1 linux-postmarketos-qcom-laptop: enable systemd BPF requirements
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6708

[ci:skip-build]: already built successfully in CI
2025-06-30 11:03:15 -07: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
Clayton Craft 0dc0c9f03e soc-qcom: run systemd splitfunc in pulseaudio-systemd subpkg
Just like when defining custom -openrc subpkgs, or prepare funcs, etc,
we *need* to manually the corresponding abuild function or else things
break.

fixes #3781

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6690
[ci:skip-build]: already built successfully in CI
2025-06-20 19:22:57 +02:00
Clayton Craft ed5f3dd73e systemd: disable armhf
This is a workaround for pmb#2618, basically.

To build systemd with BPF support (so things like unpriv. nspawn work),
we have to install linux-stable-dev to get a special header(vmlinux.h).
This kernel (linux-stable) isn't build in Alpine for armhf. Normally
that's not a problem, we could just add linux-stable-dev conditionally
to the makedepends, right? No... not possible until pmb#2618 is fixed.
Given this arch is used by only 3 devices in testing (the rest are in
`downstream` or `archive`), I think it makes sense to disable systemd on
this arch until someone has the motivation to fix the pmb bug.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6637
[ci:skip-build]: already built successfully in CI
2025-06-20 12:37:11 +02:00
Clayton Craft 1c4fd97318 systemd: enable BPF support for unprivileged systemd-nspawn
Partially fixes #3746, kernel options are required for systemd to
correctly enable support for this in systemd-nsresourced at runtime.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6637
2025-06-20 12:37:07 +02:00
Clayton Craft 32b1a6d9b6 systemd/xorg-server: upgrade to 21.1.18
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6686

[ci:skip-build]: already built successfully in CI
2025-06-20 11:25:02 +02:00
Clayton Craft a9fe11c77f main/postmarketos-base-ui: always install sleep-inhibitor.conf
Installing this config only when elogind/openrc is installed means that
systemd versions of pmOS don't get the fix in !6612

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6682
[ci:skip-build]: already built successfully in CI
2025-06-18 15:22:00 -07:00
Clayton Craft 72c8e7c6c1 main/boot-deploy: upgrade to 0.19.0
Changelog: https://gitlab.postmarketos.org/postmarketOS/boot-deploy/-/tags/0.19.0

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6656
2025-06-15 00:17:35 -07:00
Clayton Craft 8734489c8b kconfigcheck: add UDMABUF to default kconfig
See:
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6163#note_467983

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6167
[ci:skip-build]: already built successfully in CI
2025-06-13 17:05:24 -07:00
Clayton Craft 34d62b85da systemd: Always install X11 tmpfiles config
This is needed by some(all?) Xwayland implementations too, so don't make
installing it exclusive to having the actual X11 xorg-server installed.

This fixes an issue where Xwayland doesn't work on COSMIC.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6658
[ci:skip-build]: already built successfully in CI
2025-06-13 17:02:32 -07:00
Clayton Craft d336e2f0ef firmware-lenovo-21bx: drop aport
All firmware that this used to provide is now upstream in
linux-firmware 🎉

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6660
[ci:skip-build]: already built successfully in CI
2025-06-13 11:42:00 -07:00
Clayton Craft 2c2e4e8895 device-lenovo-21bx: drop dependency on firmware-lenovo-21bx
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6660
2025-06-13 11:42:00 -07:00
Clayton Craft 9d7f74090c device-lenovo-21bx: use dtbloader, remove bootmac
bootmac is no longer necessary for configuring bluetooth MAC when using
dtbloader.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6603
[ci:skip-build]: already built successfully in CI
2025-06-13 08:51:13 -07:00
Clayton Craft aae0373b2d kconfigcheck: add missing option dependencies
These options are things that other required kconfig depend on, found
when creating a new config from scratch and noticing a few required
kconfig wasn't making it into the final config.

I don't expect this to have any impact on existing kernel packages that
already pass the kconfig check, because they would already need to have
these options enabled.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6641
2025-06-11 23:27:04 +02:00
Clayton Craft 492fead1ce main/postmarketos-base-ui: stop inhibiting sleep/suspend during audio playback
This test is apparently wrong a lot now, so let's disable it. Audio
apps should inhibit sleep/suspend on their own, or worst case you can do
something like `systemd-inhibit <audio app>`.

We still want sleep-inhibitor around for now to inhibit sleep/shutdown
when an SSH client is connected or when apk is running.

Fixes #3745

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6612
[ci:skip-build]: already built successfully in CI
2025-06-10 12:17:36 +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 b524646bde device-generic-x86_64: depend on hwdata
This is useful for having more hardware work OOTB when using
this generic image. On openrc installs, which pulls in eudev-hwids.

Fixes #3744

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6611
[ci:skip-build]: already built successfully in CI
2025-06-09 12:59:14 +02:00
Clayton Craft 832128c3db systemd: fix udevd symlink
On a merged /usr system, this results in a broken symlink since
sbin/udevd is really usr/sbin/udevd, and usr/sbin/../usr/lib/ is not a
real thing. This should have no effect on unmerged /usr systems, since
sbin/../../usr/lib/.... is still a correct (if ugly) path.

It's quite difficult to create a relative symlink for these things
that works reliably on a merged AND unmerged /usr install, so for now
I'm going to make the symlink source path absolute so that we can be
confident it'll work on either type of installation, and we can revisit
making them relative after usr merge is done/deployed on all installs.

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6598
2025-06-05 15:44: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
Clayton Craft 0dabd564d1 systemd/postmarketos-base-systemd: replace pmos-baselayout
Some files overwritten by this package are in pmos-baselayout now

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6565
[ci:skip-build]: already built successfully in CI
2025-06-04 09:09:37 -07:00
Clayton Craft c9790be804 main/postmarketos-base: add -release and -baselayout subpkgs
This splits off two new subpackages in postmarketos-base, allowing for
tools (e.g. mkosi) to build a very small "postmarketOS" rootfs.

postmarketos-base depends on these two new packages, so there should be
no functional change outside of enabling this specific use case.

The versioned replaces is meant to fix installing this new package on
existing installs. In some cases apk installs this package *before*
installing the `postmarketos-base-systemd` update that accompanies this
patch.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6565
2025-06-04 09:09:36 -07:00
Clayton Craft 97b9d77632 main/postmarketos-qemu-common: disable hw cursors on wlroots
This partially works around #2246

This is setting a var specific to wlroots, BUT many UIs use wlroots and some
(phosh) vendor it so adding a single text file with 1 line in it seems better
than having at least 2 extra subpackages (1 for installing if phoc, 1 for
installing if wlroots, and others?)

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6508
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6508
2025-06-03 12:27:58 +02:00
Clayton Craft 68ed2f96a1 device-qemu-*: depend on postmarketos-qemu-common
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6508
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6508
2025-06-03 12:27:57 +02:00
Clayton Craft 6272fcbf15 main/postmarketos-qemu-common: new aport
This package contains common config shared between all qemu "devices"

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6508
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6508
2025-06-03 12:27:57 +02:00
Clayton Craft 5747b80ab1 linux-postmarketos-qcom-laptop: upgrade to 6.15
- Enable boot_delay support (can help with debugging)

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6414
[ci:skip-build]: already built successfully in CI
2025-06-03 12:08:31 +02:00
Clayton Craft c9c7583282 main/devicepkg-utils: add missing makedepend
pmb is more strict about this

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6583
[ci:skip-build]: already built successfully in CI
2025-06-01 12:46:01 +02:00
Clayton Craft fd96e65267 cross/busybox-static-*: upgrade to 1.37.0-r18 2025-05-29 14:18:10 -07:00
Clayton Craft 2e9e6ddbf9 temp/abuild: upgrade to 3.15.0
APKBUILD was also rebased onto the latest version in aports

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6569
[ci:skip-build]: already built successfully in CI
2025-05-29 21:35:12 +02:00
Clayton Craft 4edb3d9cbc main/postmarketos-base-ui-gnome: add gapless to pmb_recommends
This seems to be a nice, featureful music player to ship by default for
GNOME-based UIs that works well on mobile and desktop

Fixes #3544

[ci:skip-vercheck] pmb_recommends change

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6558
2025-05-27 11:50:42 +02:00
Clayton Craft 10f9386920 main/swclock-offset: upgrade to 0.2.6
Small bugfix release, see upstream changelog:
https://gitlab.postmarketos.org/postmarketOS/swclock-offset/-/tags/0.2.6

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6545
[ci:skip-build]: already built successfully in CI
2025-05-24 20:23:39 -07:00
Clayton Craft 891093fd9e linux-wiko-lenny{3,5}: add shared patches to fix build issues
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6542

[ci:skip-build]: already built successfully in CI
2025-05-22 22:59:46 -07:00
Clayton Craft 3b0f9a1b82 systemd/postmarketos-base-systemd: fix issue with locale.conf being ignored
Shells (and DEs!) that set environment from /etc/profile.d will end
up sourcing 20locale.sh from alpine-baselayout. This file will set
`LANG=C.UTF8`, and this will override whatever systemd-localed/systemd
sets LANG to. In other words, locale.conf is effectively ignored. I
hit this issue when debugging why the date in COSMIC was always `M05`
instead of `May`, and why various COSMIC components failed to detect the
locale (because it was set to C.UTF8)

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6535
[ci:skip-build]: already built successfully in CI
2025-05-22 17:10:47 -07:00
Clayton Craft 3592e6dcee main/postmarketos-mkinitfs: upgrade to 2.6.2
Includes an important fix for /usr merged installs

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6539
[ci:skip-build]: already built successfully in CI
2025-05-20 14:33:07 -07:00
Clayton Craft d2631ed229 device-generic-x86_64: depend on systemd-boot-x86
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6506

[ci:skip-build]: already built successfully in CI
2025-05-15 22:48:30 +02:00
Clayton Craft f80528b498 cross/systemd-boot-x86: new aport
fixes #3711

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6506
2025-05-15 22:48:30 +02:00
Clayton Craft ed19fab2a3 ci/test_provides: make exception for provides with valid versions hardcoded
The APKBUILD reference seems to suggest that versioned provides= can
have any valid version string (e.g. 0.12-r3) in the `provides=` var, and
that it doesn't have to match `$pkgver-r$pkgrel` for the APKBUILD. IIRC
this test intends to catch typos like `provides=foo=$pkgver-$pkgrel`, so
this makes it pass when any valid version string is given.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6475
[ci:skip-build]: already built successfully in CI
2025-05-15 10:22:04 +02: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
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
Clayton Craft 92de2f095a main/postmarketos-base-ui: revert qcom/adreno flatpak workaround
This reverts commit d246f597de.

The Mesa bug was fixed upstream[1] and the fix is in Mesa 25.0.5.

1. https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34628

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6472
[ci:skip-build]: already built successfully in CI
2025-05-10 22:50:22 -07:00
Clayton Craft 42a507315b cross/gcc-*: upgrade to 14.2.0-r6 2025-05-09 13:38:36 -07:00
Clayton Craft 5d4ff3b1be cross/busybox-static-*: upgrade to 1.37.0-r17 2025-05-08 16:34:02 -07:00
Clayton Craft 7a9acf86ec systemd/postmarketos-base-systemd: add configuration for systemd-resolved
Installing systemd-resolved by default is still probably not a good
idea (e.g. until #1430 is fixed, at least?), but this adds config for
NM and sd-resolved to get the stub resolver set up automatically when
systemd-resolved is installed manually by a user.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6250
[ci:skip-build]: already built successfully in CI
2025-05-06 10:19:38 -07:00
Clayton Craft f84adcd778 main/*: explicitly depend on openrc if install scripts call rc-update
[ci:ignore-count]

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6476
[ci:skip-build]: already built successfully in CI
2025-05-06 10:49:08 +02:00
Clayton Craft a308720ea9 device-realme-x3: add nonfree-fw-openrc subpkg
This should make it possible to build systemd images for this device. I
don't know if anyone cares, but I couldn't look away when I found this
until I fixed it :D

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6476
2025-05-06 10:48:44 +02:00
Clayton Craft 469374de6d device/*: explicitly depend on openrc if install scripts call rc-update
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6476
2025-05-06 10:48:44 +02:00
Clayton Craft de59cdaa67 device-generic-x86_64: add modules to initfs to support emmc storage
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6444

[ci:skip-build]: already built successfully in CI
2025-05-05 15:40:08 -07:00
Clayton Craft a5cefca7b2 Revert: usr merge preparations
pmbootstrap isn't ready yet for these patches, so building systemd
images is broken when they are in pmaports.

This reverts commits:
23894ca89d.
6c78abbde6.
9bcdec3337.
53500854fe.
8639c2c0e4.
9d33e4d812.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6473
[ci:skip-build]: already built successfully in CI
2025-05-05 13:13:00 -07:00
Clayton Craft 85728d6861 main/postmarketos-ui-os-installer: new aport
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6320

[ci:skip-build]: already built successfully in CI
2025-04-25 15:52:55 -07:00
Clayton Craft ec2c2564e0 device-alcatel-ttab: update checksums
[ci:skip-vercheck]

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6447
2025-04-24 12:35:15 -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
Clayton Craft 5075aa3523 device-xiaomi-nabu: add audio subpkg to install pw
This also relocates some audio-related config into the new audio subpkg
so that it's only installed in cases where a UI requires audio.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6408
[ci:skip-build]: already built successfully in CI
2025-04-17 20:50:01 +02:00
Clayton Craft cfac29e5c0 device-samsung-lt023g: add audio subpkg to install pw
This also relocates some audio-related config into the new audio subpkg
so that it's only installed in cases where a UI requires audio.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6408
2025-04-17 20:50:01 +02:00
Clayton Craft 01deb2b288 device-pine64-pinephone: add audio subpkg to install pw
This also relocates some audio-related config into the new audio subpkg
so that it's only installed in cases where a UI requires audio.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6408
2025-04-17 20:50:01 +02:00
Clayton Craft af9283e9d9 main/postmarketos-ui-*: update relevant UIs to depend on pmos-base-ui-audio
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6408
2025-04-17 20:49:58 +02:00
Clayton Craft b95fc85cbc main/postmarketos-base-ui: make -audio subpkg
This removes the audio-none subpkg, and the dependency that
postmarketos-base-ui had on it.

This renames the pmos-base-ui-audio virtual that the pw and pa backends
provided to `postmarketos-base-ui-audio-backend`.

To allow UIs to select no audio components, a new pmos-base-ui-audio
subpkg was added. UIs that need audio should depend on the virtual
pkg `postmarketos-base-ui-audio`. UIs that don't want audio can simply
depend on postmarketos-ui-base and no audio stuff will be pulled in.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6408
2025-04-17 20:37:14 +02:00
Clayton Craft e9c344bf7a main/postmarketos-ui-cosmic: add gnome-keyring to pmb_recommends
This is used by the DE's upstream (popOS), and works reasonably well so
let's install it by default so that apps that depend on secret manager
things work OOTB.

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

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6410
2025-04-15 16:06:52 -07:00
Clayton Craft 225bb4696e ci: don't run test_kernel on linux-pam-pmos (MR 6418)
The pkg name changed a while back in d3545fc941.

[ci:skip-build]: already built successfully in CI
2025-04-15 14:05:27 -07:00
Clayton Craft 7fd9e01f7f ci/pytest: make sure tests run on correct branch (MR 6418)
This works around a situation where pmbootstrap init checks out the
wrong branch and we end up executing the wrong version of the tests.

For context:
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6418#note_477266
2025-04-15 14:05:27 -07:00
Clayton Craft 2d77fa6662 ci: verify_checksums: support packages in systemd repos
In 65038ce26a the logic for also checksum checking pkgs in the systemd
repo was dropped when the logic was moved from build_changed_aports.py,
this re-introduces that logic so that checksums for packages in the
systemd repo are also checked.

Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6404
2025-04-12 09:17:19 -07:00
Clayton Craft 8fb9f32e44 linux-postmarketos-qcom-laptop: upgrade to 6.14
- Updated kconfig to be compliant with latest kconfigcheck
- Dropped patch for workaround, the issue is now fixed upstream

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6216
[ci:skip-build]: already built successfully in CI
2025-04-08 15:39:06 -07:00
Clayton Craft bc850c6250 abuild: upgrade to 3.15-rc2
We were already running abuild > 3.14.0, but the pkgver for these forked
pkgs was wrong.

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6376
2025-04-03 13:46:29 -07:00
Clayton Craft 2d103255db systemd/systemd: add patch to install legacy tmpfiles config
This patch is in 257, so we can drop it when upgrading. Without this
patch, we'd have to the enable sysv compat stuff in systemd just to get
this legacy.conf file generated/installed, which totally doesn't seem
worth it (the sysv compat stuff seems to be a lot!)

Fixes #3616

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6352
[ci:skip-build]: already built successfully in CI
2025-03-26 20:52:30 +01:00
Clayton Craft 55755615c4 device-lenovo-21bx: always resize the root partition
It's common to build installs for this device to flash on USB drives or
whatever, and the rootfs alwys runs out of space fast because it's not
resized on boot. Let's fix that...

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6340
2025-03-26 20:30:16 +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
Clayton Craft a375ff0451 systemd/systemd: move udevadm into udev subpkg
Fixes a conflict between systemd and systemd-udev where apk thinks they both provide cmd:udevadm:

ERROR: unable to select packages:
  systemd-256.11-r2:
    conflicts: systemd-udevd-256.11-r2[cmd:udevadm=256.11-r2]
  systemd-udevd-256.11-r2:
    conflicts: systemd-256.11-r2[cmd:udevadm=256.11-r2]

[ci:ignore-count]
[ci:skip-build] already built in CI

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6334
2025-03-22 17:10:33 +00:00
Clayton Craft eb8b32bdaa systemd/pipewire: update install script to match aports
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6334
2025-03-22 17:10:29 +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 f0a72fc9e1 systemd/postmarketos-base-systemd: add presets for alsa-utils
Part-of: https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/6287
2025-03-17 08:46:48 +01:00
Clayton Craft 8947f03100 systemd/postmarketos-base-systemd: add some missing user presets 2025-03-14 10:20:42 -07:00
Clayton Craft 8447742b20 systemd/systemd: ship a default user preset
This adds a default preset for user units, that disables them by
default. This behavior is identical to what we do with system presets,
which means that if we want a unit enabled by default then we need
to add a preset for it or rely on some other unit to pull it in
automatically. Without this default preset, user units are enabled by
default when `systemctl preset` is run on them, which may not always be
the desired behavior (i.e. we don't want this behavior with system units).
2025-03-14 10:20:42 -07:00
Clayton Craft 2679dce766 systemd/dbus: upgrade to 1.16.2
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6289
2025-03-14 15:41:57 +01:00
Clayton Craft 0faf7b73d1 issue template: add COSMIC UI option (MR 6274)
[ci:skip-build]: already built successfully in CI
2025-03-13 10:57:35 -07:00
Clayton Craft f62fc95d7d main/postmarketos-ui-cosmic: new aport (MR 6274) 2025-03-13 10:57:35 -07:00
Clayton Craft ad6dc88dd7 systemd/systemd-services: add unit files for COSMIC greeter (MR 6274) 2025-03-13 10:57:35 -07:00
Clayton Craft 71df49fd16 systemd/postmarketos-base-systemd: add preset for COSMIC greeter (MR 6274) 2025-03-13 10:57:35 -07: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
Clayton Craft a398d7c069 kconfigcheck: require PSI by default (MR 6246) 2025-03-09 00:08:51 -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
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
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
Clayton Craft e78a913153 main/postmarketos-base: move zram size calc logic to standalone script (MR 6208)
This allows re-using it elsewhere, like in pmos-base-systemd
2025-02-21 10:28:22 -08:00
Clayton Craft 65b913b5b1 ci: drop CODEOWNERS check (MR 6189)
This is really annoying to fight with, especially since it's going to be
going away soon in https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3530

[ci:ignore-count]
[ci:skip-build]: already built successfully in CI
2025-02-19 08:13:25 -08:00
Clayton Craft 0d7a9af890 soc-qcom-sdm845: drop package (MR 6189)
No longer needed since soc-qcom provides all of the config/dependency
requirements that this pkg used to. It can be re-added later if some new
sdm845-specific stuff is needed
2025-02-19 08:13:25 -08:00
Clayton Craft e7a2d73803 device-lg-judyp: depend on soc-qcom (MR 6189) 2025-02-19 08:13:25 -08:00
Clayton Craft 8eb5904936 device-lg-judyln: depend on soc-qcom (MR 6189) 2025-02-19 08:13:25 -08:00
Clayton Craft d103fe9eef device-postmarketos-trailblazer: depend on soc-qcom-qbootctl (MR 6189) 2025-02-19 08:13:25 -08:00
Clayton Craft 435c770893 device-ayn-odin: depend on soc-qcom (MR 6189) 2025-02-19 08:13:24 -08:00
Clayton Craft 3c6007d1e6 device-google-blueline: depend on soc-qcom (MR 6189) 2025-02-19 08:13:24 -08:00
Clayton Craft e2c58b62d4 device-qualcomm-sdm845: depend on soc-qcom (MR 6189) 2025-02-19 08:13:24 -08:00
Clayton Craft 94a7f962ab device-google-bonito: depend on soc-qcom (MR 6189) 2025-02-19 08:13:24 -08:00
Clayton Craft f45e69b753 device-xiaomi-sagit: depend on soc-qcom (MR 6189) 2025-02-19 08:13:24 -08:00
Clayton Craft fa689f2b58 device-xiaomi-polaris: depend on soc-qcom (MR 6189) 2025-02-19 08:13:24 -08:00
Clayton Craft 262d6fd569 device-xiaomi-equuleus: depend on soc-qcom (MR 6189) 2025-02-19 08:13:23 -08:00
Clayton Craft 7b76811ba1 device-xiaomi-beryllium: depend on soc-qcom (MR 6189) 2025-02-19 08:13:23 -08:00
Clayton Craft be22d32df2 device-oneplus-fajita: depend on soc-qcom (MR 6189) 2025-02-19 08:13:23 -08:00
Clayton Craft 9fd9e45cfd device-google-sargo: depend on soc-qcom (MR 6189) 2025-02-19 08:13:23 -08:00