Commit graph

14302 commits

Author SHA1 Message Date
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
535fba79ee
linux-postmarketos-qcom-sdm845: enable lockdown integrity
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8986>
2026-07-14 02:40:31 +00:00
Aster Boese
e2b8338e09
linux-postmarketos-qcom-sdm845: sync kconfig
Adds two patches to fix BPF for this kernel version.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8986>
2026-07-14 02:40:31 +00:00
Aster Boese
61d5db0ca4
linux-xiaomi-pipa: rebuild with postmarketos-installkernel 2-r0
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9014>
2026-07-14 02:05:24 +00:00
Aster Boese
3878b56804
linux-postmarketos-mainline: rebuild with postmarketos-installkernel 2-r0
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9013>
2026-07-13 18:51:09 +00:00
Federico Amedeo Izzo
ac1004a7fc
motorola-dubai: new device
Add device-motorola-dubai and firmware-motorola-dubai packages for
Motorola Edge 30 support.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8942>
2026-07-13 17:22:25 +00:00
Luca Weiss
47a862b634
alsa-ucm-conf-qcom-sc7280: update for Fairphone 5 improvements
Aelin Reidel (1):
      ucm2: Qualcomm: Create missing symlink for Radxa Dragon Q6A

Luca Weiss (3):
      ucm2: Fairphone: FP5: Use amp hardware volume as PlaybackVolume
      ucm2: Fairphone: FP5: Use common wcd938x & qcom-lpass sequences
      ucm2: Fairphone: FP5: Define CaptureChannels & CaptureVolume for Mic1

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8948>
2026-07-13 16:17:25 +00:00
WrenIX
c9dbdc23ae
community/linux-postmarketos-qcom-sc7280: update to 7.1.2
Plenty of kconfig community check adjustments and some manual
enablements for devices.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8948>
2026-07-13 16:17:25 +00:00
WrenIX
e99849d265
device-fairphone-fp5: drop unneeded wireplumber.conf for new kernel
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8948>
2026-07-13 16:17:25 +00: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
Aelin
4a9ea1cae7
linux-postmarketos-mainline: Upgrade to 7.2_rc3
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9010>
2026-07-13 02:11:51 +02:00
Clayton Craft
994ed89373
systemd/systemd: add Ollie as co-maintainer
Fixes #4681

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
[ci:skip-vercheck]

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9004>
2026-07-12 13:02:20 -07: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
Felix
b29403179c
linux-xiaomi-pipa: upgrade to 7.1.3
Add type cover and tablet mode switch support, refresh the 7.1.3 config, and backport the upstream libbpf strset UAF fix needed for BTF generation.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8995>
2026-07-12 15:05:50 +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
Bart Ribbers
1bbed4bf52
systemd/kjournald: upgrade to 26.04.3
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8990>
2026-07-12 08:17:39 +02:00
Paul Sajna
2d43d15acf
device-blackberry-key2-generic: Update xkb name, add udev hwdb
In the most recent xkeyboard-config, the layout changed from
us/pc/key2 to blackberry-key2/us
(layout/model/variant) (model/layout)

The udev hwdb is for unl0kr to properly recognize the keyboard,
recommended by sicelo.

Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8969>
2026-07-11 13:45:26 -07:00
Robert Eckelmann
5ae0446e51
temp/xkeyboard-config: upgrade to 2.48
* Update BlackBerry Patch
* Update Nokia Patch (sicelo)

Co-developed-by: Paul Sajna <sajattack@postmarketos.org>
Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
Signed-off-by: Paul Sajna <sajattack@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8969>
2026-07-11 13:45:26 -07:00
Aster Boese
4eea5a63f5
kconfigcheck: version gate CRYPTO_KRB5
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9001>
2026-07-11 19:11:04 +02:00
Aster Boese
14897810c9
systemd: disable compat-sysv-interfaces
compat-sysv-interfaces is meant for systems that
already have technical debt from switching from
sysv. postmarketOS does not have this, so this
is not needed.

All this option does is enable runlevels 0-6
and install legacy.conf, which also doesn't
work with our packaging because it installs
symlinks who's target only exists in
subpackages.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8996>
2026-07-11 14:47:40 +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
Aelin
ce5491e712
deviceinfo_schema.toml: Add missing datatype to deviceinfo_header_version
Setting an integer_interval without datatype = "integer" is
inconsistent. This is supposed to be an integer, but was overlooked
during initial creation of the schema.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8998>
2026-07-11 12:09:04 +02:00
Aelin
7c34fe98a2
ci: Regenerate linux-next configs
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7937>
2026-07-11 02:30:02 +02:00
Aelin
9bde5f7056
docs/generic-kernels: Mention linux-next
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7937>
2026-07-11 02:30:02 +02:00
Aelin
7e1c99ed41
linux-next: Use generic kernel infra, take over maintainership
As discussed with Casey at the FOSDEM hackathon, we want to integrate
linux-next with the same infra we use for linux-postmarketos-mainline
and the other generic kernels and move maintainership to the generic
kernel team.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7937>
2026-07-11 02:30:02 +02:00
Clayton Craft
8d0cc81e23
systemd/postmarketos-base-systemd: move install= to top level
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8993>
2026-07-10 21:44:39 +00:00
Clayton Craft
37e1370ae9
systemd/postmarketos-base-systemd: don't enable time-wait-sync
This removes the other half of the workaround for #3816, that should have been in !8487.

Fixes #4687

This reverts commit 5e435f9669.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8993>
2026-07-10 21:44:39 +00:00
postmarketOS CI
c101f6a903
linux-next: upgrade to next-20260710 2026-07-10 15:39:55 +00:00
Aster Boese
3b5032d29c
kconfigcheck: switch to LOCK_DOWN_KERNEL_FORCE_INTEGRITY
The current systemd user namespaces model
almost works with confidentiality, but a single
check for kprobes is used, which confidentiality
disables, so user namespaces fail. For now,
just downgrade lockdown to integrity until this
is sorted out in systemd.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8988>
2026-07-10 13:45:28 +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
Robert Mader
73688a3fdb
temp/libcamera: Apply s5kjn1 CCM tuning to imx376 as well
It's far from perfect but better than the default. Most importantly it
gives users of the OP6 - one of the most popular devices - an impression of
where libcamera development is heading - and an incentive to help/play
around with tuning.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8992>
2026-07-10 14:58:08 +02:00
Robert Mader
fd540e8017
temp/libcamera: upgrade to 0.7.2
See
https://gitlab.freedesktop.org/camera/libcamera/-/releases/v0.7.2

The release notably includes fixes that allow us to start shipping color
correction matrices in tuning files. This commit includes the current
tuning iterations for the imx363 (used e.g. as Pixel 3a rear camera) and
the s5kjn1 (used on e.g. as FairPhone 5 front camera). The later is also
used for the other correspondig cameras on the mentioned devices, as
they improve the quality over the default. This is of course planed to
change in the future.

The GPU-ISP also received major performance improvements, in particular
if the dmabuf direct import path can be used. If that's not the case
some INFO logs are printed, giving hints what needs to be improved in
the V4L2 or GPU drivers.

Finally we can drop all previously backported patches, only keeping two
PinePhone (OG) specific ones around for now. These should probably be
dropped in future releases, giving the poor performance and limited GPU
capabilities (GLES 2.0 only) on that device.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8991>
2026-07-10 12:41:13 +02:00
Achill Gilgenast
8433274c9a
systemd/postmarketos-base-systemd: enable phosh-os-updater.service
See HEAD~

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8952>
2026-07-09 22:57:07 -07: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
postmarketOS CI
1c23bfa167
linux-next: upgrade to next-20260709 2026-07-10 04:38:51 +00:00
Aster Boese
061256690b
kconfigcheck: add lockdown configs and add opt-in lockdown category
Enables lockdown by default in the hardening category, but locks hardcoding
enabling confidentiality behind the lockdown category, which kernels can
opt-into where it makes sense.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7369>
2026-07-09 18:02:41 +00:00
bluebunny
77de9dcb58
linux-postmarketos-qcom-sm8250: become a co-maintainer
[ci:skip-build]
[ci:skip-vercheck]
[ci:skip-kconfigcheck]

Signed-off-by: bluebunny <bluebunny@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8985>
2026-07-09 09:16:26 +00:00
Ingo Reitz
4e203c5d5c
linux-postmarketos-qcom-sc7180: install to /usr, fix kconfig, lint, build
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8984>
2026-07-09 04:38:49 +02:00
Ingo Reitz
de6b508c87
linux-postmarketos-qcom-sc7180: update to 6.18.38
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8984>
2026-07-09 03:39:54 +02:00
Aster Boese
f039294ad6
docs: document default kconfig fragments defconfig logic
[ci:skip-grep]
[ci:skip-kconfigcheck]
[ci:skip-vercheck]

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8978>
2026-07-08 23:22:48 +00:00
Aster Boese
532709ae51
treewide: remove _defconfig="defconfig" as it is default
_defconfig="defconfig" is the default logic in pmbootstrap, and thus should not be
duplicated in kernel packages. The only use-case for _defconfig is for when the
defconfig differs from what is automatically selected.

linux-next is not modified because it still uses the old kconfig fragments logic and
would break with this change.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8978>
2026-07-08 23:22:48 +00:00
Casey Connolly
9cc85a5ba4
community/soc-qcom: move msm-modem dependency to soc-qcom-modem subpackage
Pulling this in results in a bunch of modem related stuff that isn't
applicable to all Qualcomm devices.

Signed-off-by: Casey Connolly <kcxt@postmarketos.org>

Co-Authored-by: Victoria Brekenfeld <postmarketos@drakulix.de>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8980>
2026-07-08 21:38:45 +00:00
Aelin
fdcadfde88
linux-postmarketos-mainline: Upgrade to 7.2_rc2
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8932>
2026-07-08 21:38:58 +02:00
Aelin
2530b4fe8b
kconfig-generic: Raise FRAME_WARN limit for x86_64 on 7.2
This works around a regression in 7.2.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8932>
2026-07-08 21:38:07 +02:00
Bart Ribbers
0de4e65e8e
kconfig-generic.toml: require VMD on x86_64 kernels
It's required by some Intel-based laptops for controlling NVMe drives.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8977>
2026-07-08 18:48:23 +00: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
Aelin
b0c160e37d
kconfigcheck: Require CRYPTO_KRB5=m
It appears to default to y with our current config requirements from
Linux 7.2 onwards, and that in turn breaks kconfigcheck because it will
set CRYPTO_CAMELLIA=y, etc. If we require it to be built as a module,
our kconfig checks will pass again.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8929>
2026-07-08 15:41:57 +00:00
postmarketOS CI
94c6b55f81
linux-next: upgrade to next-20260708 2026-07-08 15:39:35 +00:00