Commit graph

3252 commits

Author SHA1 Message Date
Sicelo A. Mhlongo
6826507217
postmarketos-base: explicitly set swapfile priority
Ensure priority of swapfile is lower than zram (100 vs. 300), thus
ensuring zram is filled first.

Signed-off-By: Sicelo A. Mhlongo <absicsz@gmail.com>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9106>
2026-07-24 18:01:02 +00:00
Sicelo A. Mhlongo
161bea9d15
postmarketos-zram: explicitly set zram priority
There may be other swap on the device, e.g. swapfile. Setting an
explicit high priority value ensures zram is given first preference.

Signed-off-By: Sicelo A. Mhlongo <absicsz@gmail.com>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9106>
2026-07-24 18:01:02 +00:00
Clayton Craft
7b4e2925ee
main/postmarketos-ui-cosmic: add sound theme to pmb_recommends
[ci:skip-vercheck] pmb_recommends change

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9114>
2026-07-24 17:57:15 +00:00
Aster Boese
1c739e9f36
main/postmarketos-base-ui: notify users upon installing iwd for MAC modification
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9125>
2026-07-24 14:18:56 +00:00
Clayton Craft
cb73714c79
main/postmarketos-duranium: use full kmod in initramfs
A recent change in Alpine[1] changed how busybox handled module loading.
Previously, if bb modprobe was called with a compressed module, it would
send it to the kernel to decompress it. Now, bb modprobe just fails.
Using full kmod/modprobe lets us avoid any of these busybox shenanigans.

1. 79180dde21

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9123>
2026-07-23 21:29:49 -07:00
Aster Boese
4624a68785
main/postmarketos-ui-plasma-*: add myself as Co-Maintainer
[ci:skip-vercheck]

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9120>
2026-07-23 22:26:30 +00:00
Aster Boese
28962d7fdf
main/postmarketos-base-ui: add tmpfiles.d config for alsa-utils
alsa-utils tries creating /run/lock/asound.state.lock, but, since /run/ is a tmpfs, that path
does not exist in packaging. It is expected that this path is created at runtime, but systemd
does not because systemd considers /run/lock/ to be a legacy path and locks creating it behind
its legacy sysv compat. Because we cannot enable sysv compat and cannot patch systemd to still
allow /run/lock/ in its regular tmpfiles.d config, creating a custom config is the best
solution.

This is not in a systemd subpackage because OpenRC installs can also use tmpfiles.d and
discussion in abuild came to the conclusion that tmpfiles.d configs should stay in the regular
packaging and not go into a subpackage.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9047>
2026-07-23 20:18:23 +00:00
Clayton Craft
b5c961a108
main/pmos-base-ui-gnome-mobile, plamo: add VVM player to pmb_recommends
A previous commit (80411d9120) added vvmd but that's just the daemon and
not the actual GUI/player for VVM. This replaces vvmd with vvmplayer,
the GUI (which depends on vvmd)

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>

[ci:skip-vercheck] pmb_recommends change

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9113>
2026-07-23 11:13:47 +00:00
Aster Boese
29afb81ed2
main/reboot-mode: swap maintainer
The maintainer has stated that they don't want to
maintain this package anymore, so drop their name
from the line. Add the new maintainer that asked
to be added in the dropping MR.

See:
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/work_items/4714#note_570656

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9097>
2026-07-22 15:38:32 +00:00
Clayton Craft
80411d9120
main/pmos-base-ui-gnome-mobile, plamo: add vvmd to pmb_recommends
Visual voicemail is a feature some carriers provide and it would be
great to have this installed OOTB in mobile UIs. It's added to
pmb_recommends so it can be removed on mutable installs.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>

[ci:skip-vercheck] pmb_recommends change

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9085>
2026-07-21 07:49:18 +00:00
Clayton Craft
97e1642224
main/postmarketos-mkinitfs: upgrade to 2.11.1
Changelog:

* Fix lzma compression

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9090>
2026-07-20 15:46:25 +00:00
Aster Boese
3f76592e30
main/ldpath: drop
This package seems to have never actually been used by anything,
neither in pmaports no in pmbootstrap. Due to its last edit being
75feba5476 from 2018, its sufficient
to say that this package isn't useful anymore.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9079>
2026-07-19 23:10:30 +00:00
Clayton Craft
ee60ea5640
main/postmarketos-base-ui: only install sleep-inhibitor on openrc
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
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
Aster Boese
005457fa00
main/postmarketos-base-ui: add pipewire-spa-libcamera and pipewire-webrtc as dependencies
These subpackages were recently split out of pipewire and broke
camera and webrtc support. These must be added to depends as
there is no way to install_if with flatpaks and these were
previously already part of the pipewire package, so the status-
quo does not change.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9046>
2026-07-17 14:51:26 +00:00
Clayton Craft
48cfe06d70
main/postmarketos-ui-cosmic: add cosmic-monitor to pmb_recommends
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>

[ci:skip-vercheck] pmb_recommends change
[ci:skip-build]: pmb_recommends change

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9022>
2026-07-15 14:53:11 +00:00
Aster Boese
38404b35d3
treewide: move etc/init.d and etc/conf.d into openrc subpackages and cleanup
Moves the remaining init.d and conf.d files into the OpenRC subpackages. Most
of these issues were caused by wrongly reimplementing the default_openrc
function, which can be caught in the future with
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/work_items/4643.

This commit also makes some very minor cleanup of APKBUILDs if it made
sense while fixing the subpackages.

[ci:skip-grep]

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8871>
2026-07-14 19:18:41 +02:00
Aster Boese
06f3537a7f
main/postmarketos-installkernel: install to usr/sbin
The kernel searches for installkernel in /sbin/. Since postmarketOS
is usr-merged, that would be /usr/sbin/. The installkernel binary
was moved to /usr/bin/ instead, which is the wrong path due to
postmarketOS not being bin-merged.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9012>
2026-07-13 16:23:37 +02:00
Ferass El Hafidi
a81fb822b2
main/postmarketos-base-ui-gnome: enable CUPS on OpenRC if installed
It seems to have been overlooked in an earlier commit.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8890>
2026-07-12 15:51:14 +00:00
Ferass El Hafidi
a98f12d9d7
main/postmarketos-base-ui-gnome: explicitely depend on polkit-elogind in main package
Despite the name, this does pull the correct polkit on systemd, as the
systemd/polkit package provides polkit-elogind=9999$_pkgver-r$pkgrel,
which apk will pick, while on OpenRC apk will happily pick
polkit-elogind from alpine repos (pulling polkit that builds against
elogind)

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8890>
2026-07-12 15:51:14 +00:00
Aster Boese
4b95b1e128
main/postmarketos-installkernel: modernize
Reorders the keys to match newapkbuild and fixed
the provider, since the current logic made it
always be considered a lower provider priority
than the Alpine installkernel. Also moved the
location of the installed binary to not need
to replace Alpine's installkernel.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8982>
2026-07-12 13:49:07 +00:00
Eisenbahnfan
4613360059
main/unixbench: Upgrade to 6.0.1
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8997>
2026-07-11 10:20:54 +00:00
Aster Boese
6020880b4a
main/postmarketos-base-ui: move iio-sensor-proxy systemd file to subpackage
This config is only used by the systemd service, so it is unnecessary on
OpenRC.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8872>
2026-07-10 13:43:04 +00:00
Achill Gilgenast
f9cf7c2536
main/postmarketos-ui-phosh: install phosh-os-updater in duranium
Enables a sysupdate checker that sends notifications see
2fbf58f83a.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8952>
2026-07-09 22:56:21 -07:00
Aster Boese
afcb37ded0
main/postmarketos-base-ui: move install= to top-level
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8949>
2026-07-08 19:20:45 +02:00
Aster Boese
fd647db428
main/postmarketos-base-ui: remove _pmb_default call
_pmb_default is only for changing the default provider from
the package with the highest provider_priority. This package
is using it with the providers that already have the highest
priority, making _pmb_default a no-op. Thus, removing this
is a basic logic cleanup.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8949>
2026-07-08 18:11:27 +02:00
Aster Boese
bf912e9c1f
main/postmarketos-base-ui: move non-openrc tinydm config into its own subpackage
When systemd was added to postmarketOS, the postmarketos-base-ui-tinydm subpackage was never
updated to support it, meaning that only OpenRC ever got the config file. This commit fixes
that by creating a postmarketos-base-ui-tinydm-openrc subpackage and moving the OpenRC logic
there, leaving only the service manager agnostic config in the postmarketos-base-ui-tinydm
subpackage.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8939>
2026-07-08 14:11:10 +00: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
Aster Boese
544502e678
main/devicepkg-dev: install udev configs under /usr/lib/
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7715>
2026-07-06 11:06:22 +00:00
Achill Gilgenast
497a1c0ebe
main/postmarketos-ui-plasma-bigscreen: pre-install jellyfin-desktop & kodi
Both are featured on the homepage of Plasma Bigscreen and can be usefull
for Plasma Bigscreen users.

As Kodi has a similar project goal as Plasma Bigscreen, yet more
features, move it to a -extras subpackage, so that pmbootstrap users
can toggle that off.

jellyfin-desktop's default .desktop-file uses the PC-mode, but to adjust
to Bigscreen, append --tv to Exec=.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8946>
2026-07-06 06:16:09 +00:00
Achill Gilgenast
e02006a7e3
main/postmarketos-ui-phosh: remove keyboard cursor keys override
Is upstream since 0.56: 4bef5c9c9a

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8956>
2026-07-05 18:48:49 +00:00
Aster Boese
1c265f2535
main/postmarketos-base: depend on udev
Replaces the eudev dependency with the udev virtual package.
The explicit eudev dependency is added to the openrc package
to ensure that no other udev provider gets installed instead.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8957>
2026-07-05 14:37:27 +00:00
Barnabás Czémán
e3c7da0500
main/lk2nd: take over the maintainership
Take over the maintership of this package.

Signed-off-by: Barnabás Czémán <barnabas.czeman@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8941>
2026-07-01 19:33:39 +02:00
Ferass El Hafidi
20349f1073
main/postmarketos-ui-windowmaker: new aport
Add WindowMaker as a new UI. Also add a WindowMaker pmOS theme and some
configs for making it somewhat usable on mobile (though that is not a
main goal of this UI package).

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8717>
2026-06-26 19:04:00 +00:00
Aster Boese
4db7d49d53
treewide: stop calling or recommending doas
With the switch to sudo-rs, v26.06 and edge installs do not have
doas by default. Along with this, we installed doas on old installs
with doas-sudo-shim, so the call to sudo also works there. Therefore,
recommending and calling sudo is the correct option here.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8873>
2026-06-26 09:11:27 +00:00
alexandre minette
28d9252720
main/lk2nd: adding support for msm8960
Adding support of msm8960 for lk2nd.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8786>
2026-06-24 15:49:03 +00:00
Akari Tsuyukusa
a3fa1e1159
postmarketos-base-ui-cage: fix .desktop entry
Alpine Linux's cage package doesn't provide /usr/bin/cage-ui.
Therefore, this entry was never displayed in display managers.

Link: https://pkgs.alpinelinux.org/contents?name=cage&repo=community&branch=edge&arch=x86_64
Signed-off-by: Akari Tsuyukusa <akkun11.open@gmail.com>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8876>
2026-06-24 10:00:21 +00:00
Aelin
db058fb410
main/pbsplash: remove
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8885>
2026-06-23 10:20:40 +00:00
Cristian Cozzolino
a1c7af5d43
main: Add zimage64 pkg
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8791>
2026-06-21 06:52:59 +00:00
Aster Boese
804bdc0438
main/postmarketos-base: move etc/conf.d/tmpfs to openrc subpackage
This was missed with
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8737
as systemd doesn't use this config.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8867>
2026-06-20 11:51:46 +00:00
Pablo Correa Gómez
732c3ed83f
main/postmarketos-mkinitfs-hook-ci: mark /etc/udev/rules.d as optional
As a consequence of the hermetic-usr work, /etc/udev/rules.d is slowly
disappearing. This can results in errors like:

18:05:30.180191 hookfiles: unable to process hook file "/usr/share/mkinitfs/files/05-ci.files": unable to add "/etc/udev/rules.d": getFile: failed to stat file "/etc/udev/rules.d": stat /etc/udev/rules.d: no such file or directory (also tried "/etc/udev/rules.d.zst": stat /etc/udev/rules.d.zst: no such file or directory)

from
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8863#note_563184
due to the directory not being present.

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8866>
2026-06-20 12:01:24 +02:00
Clayton Craft
1045ec382b
main/postmarketos-duranium: work around systemd boot-disk loop regression
systemd commit d8a6258 restricts the boot-disk loop device trigger to
optical drives only, which breaks subpartition discovery devices that
use subpartitioning. This adds a udev rule to restore the loop trigger
for non-optical devices.

Upstream bug: https://github.com/systemd/systemd/issues/42667

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8865>
2026-06-19 20:42:48 +00:00
Clayton Craft
17214afd71
main/postmarketos-base-ui-plasma: add cups to pmb_recommends
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>

[ci:skip-vercheck]: pmb_recommends-only change

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8836>
2026-06-18 07:54:18 +00:00
Clayton Craft
64aa98a876
main/postmarketos-base-ui-gnome: add cups to pmb_recommends
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8836>
2026-06-18 07:54:18 +00:00
Clayton Craft
d1d310a503
main/postmarketos-ui-cosmic: move install= from subpkg funcs
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8836>
2026-06-18 07:54:18 +00:00
Clayton Craft
81f3595800
main/postmarketos-ui-cosmic: add cups to pmb_recommends
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8836>
2026-06-18 07:54:18 +00:00
Dylan Van Assche
ccd3a554a6
main/postmarketos-usb-moded: use service manager for unudhcpd
Also start set -e after config parameters are read. Fallbacks would trigger exit otherwise.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8553>
2026-06-18 06:27:13 +00:00
Dylan Van Assche
41732e213b
main/postmarketos-initramfs: stop unudhcpd before switching rootfs
Rootfs will take over the managing of unudhcpd under the service manager,
stop unudhpcd to allow this and avoiding multiple instances.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8553>
2026-06-18 06:27:13 +00:00
Dylan Van Assche
7a917eee3c
main/postmarketos-usb-moded: handle initramfs situation
initramfs starts USB NCM gadget and unudhcpd for SSH login.
This requires special handling since unudhpcd is unmanaged by the
service manager until the userspace is started. Once entered in userspace,
the usb-moded-developer-mode needs to be activated which configures
NetworkManager and starts unudhcpd under the service manager.
This way, a full handover is possible and the gadgets can be properly
switched without any leftovers from the initramfs due to the unmanaged
situation.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8553>
2026-06-18 06:27:13 +00:00
Dylan Van Assche
b877e7943b
main/postmarketos-usb-moded: support dynamic iface
Read iface name from gadget, including config name. Also check for errors

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8553>
2026-06-18 06:27:10 +00:00