Commit graph

3239 commits

Author SHA1 Message Date
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
Dylan Van Assche
ba1fd6bf14
main/postmarketos-usb-moded: add OpenRC MTP mode
OpenRC also needs MTP mode for usb-signaller.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8553>
2026-06-18 06:27:07 +00:00
Dylan Van Assche
9dcb48a08f
main/postmarketos-usb-moded: switch to usb-signaller as default
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8553>
2026-06-18 06:27:00 +00:00
Dylan Van Assche
f82661f261
main/postmarketos-usb-moded: add usb-moded-mtp-mode
MTP mode requires some time for the userspace daemon
to configure the FunctionFS gadget, wait until it is completed.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8553>
2026-06-18 06:26:56 +00:00
Dylan Van Assche
7c4ebfcc91
main/postmarketos-usb-moded: clean up IP forwarding
NetworkManager doesn't clean up IP forwarding, do it in the tethering script.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8553>
2026-06-18 06:26:53 +00:00
Oliver Smith
0fe40dd597
main/postmarketos-release-upgrade: upgrade to 1.12.2
Signed-off-by: Oliver Smith <ollieparanoid@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8848>
2026-06-17 18:24:05 +00:00
Clayton Craft
51b52fc2cc
main/postmarketos-base-ui: revert flatpak hack
Flatpak 1.18 includes a proper fix[1] for #3816, so we can revert this
hack that delayed starting the helper until ntp was available. This also
means that boot will now be marked 'complete' in systemd before NTP is
up, which was a weird side-effect of this hack.

This reverts commit 96d714f167.

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

1. https://patch-diff.githubusercontent.com/raw/flatpak/flatpak/pull/6547.patch

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8487>
2026-06-17 09:58:58 +02:00
Clayton Craft
8be47c7a33
main/postmarketos-base-ui-gnome: move install= from subpkg funcs
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8831>
2026-06-16 18:22:10 +00:00
Clayton Craft
138a8c01c3
main/postmarketos-base-ui-gnome: add "app provider" subpkgs
This adds two new subpackages, one pulls in in gnome software and the
other pulls in bazaar. Both subpackages provide a new virtual
(gnome-app-provider), and the main base GNOME UI pkg now depends on
this virtual. This allows us to ship bazaar in Duranium instead of GNOME
Software, and to continue to use GNOME Software by default on mutable
pmOS.

 Previously there was an "optional" dependency on a sw
app provider (gnome-software, via pmb_recommends), but I made it a hard
dependency now because:

1) I think users can expect *some* app store thing to be available
by default, and the number of users who would remove all of them is
probably approaching 0

2) Ignoring pmb_recommends made the rest of this easier to implement,
since I'm not entirely sure how pmb would react to a virtual provided
by the pkg it is processing pmb_recommends for, and I didn't want to
find out.

Fixes #4634

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8831>
2026-06-16 18:22:10 +00:00
Ferass El Hafidi
fe736c32ea
main/postmarketos-bootsplash: switch back to plymouth-openrc-plugin
With the openrc plugins hanging issues fixed in OpenRC 0.63.2, we can
now make use of plymouth-openrc-plugin once again.

This partially reverts commit f13be0f6b7.

Signed-off-by: Ferass El Hafidi <funderscore@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8811>
2026-06-16 16:58:21 +00:00
v34びょう
8ebe73581c
postmarketos-config-nftables: bump pkgrel and checksum
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8820>
2026-06-16 16:18:55 +00:00
v34びょう
a24583b9e7
postmarketos-config-nftables: block qmapmux interfaces
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8820>
2026-06-16 16:18:55 +00:00
Clayton Craft
5932b59857
main/postmarketos-duranium: remove app store plugin conflicts
These conflicts in the sysext-dev-tools subpkg were intended to prevent
app store plugins from being pulled into the system extension image
(where they would not work as expected and cause confusion.) They were
causing an issue with how packages are snapshot in the duranium build CI
by causing a conflict when it tried to resolve base and sysext package
lists together (so install_if packages were included). The conflict
was from:

error: apk add --simulate failed:
ERROR: unable to select packages:
  gnome-software-plugin-apk2-0.0.3-r1:
    breaks: postmarketos-duranium-sysext-dev-tools-11-r0[!gnome-software-plugin-apk2]
    satisfies: world[gnome-software-plugin-apk]

It's much simpler to just remove these conflicts and add these plugins
to the list of RemovedPackages in duranium's mkosi config so they are
purged before main image is finalized.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8761>
2026-06-16 06:40:02 +00:00
Clayton Craft
c25a89d8f8
main/postmarketos-duranium: add waydroid sysext subpkg
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8761>
2026-06-16 06:40:02 +00:00