Commit Graph
12217 Commits
Author SHA1 Message Date
Jens Reidel f4bd887fb6 kconfigcheck: GPIOLIB is required by some HID configs
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7397>
2025-11-20 16:10:25 +00:00
Jens Reidel 81504cb5e8 kconfigcheck: NETFILTER_ADVANCED is required by some configs
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7397>
2025-11-20 16:10:22 +00:00
Jens Reidel df583a8cb0 kconfigcheck: KVM is not available on 32-bit ARM
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7397>
2025-11-20 16:10:18 +00:00
Jens Reidel 4e956c0f15 kconfigcheck: BLK_DEV_DM requires MD
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7397>
2025-11-20 16:10:15 +00:00
Jens Reidel 9b27b4a0f7 linux-purism-librem5: Build with LLVM
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7227>
2025-11-20 09:26:24 +00:00
Clayton Craft 0268336968 main/postmarketos-initramfs: fix bug with booting from usb
This fixes a weird race that I observed when booting from usb, where
mount_subpartitons was called and:

1) rootfs on USB wasn't available so the first find_root_partition found nothing

2) the loop was entered to search for subpartitions

3) after a few iterations, the USB block device showed up along with its
partitions and the for loop was started

4) kpartx -afs created mappings for partitions on the disk (e.g.
/dev/sda), the rootfs was found by find_root_partition but the mappings
were never removed

5) Later when things like e2fsck or mount tried to operate on /dev/sda2,
they would fail with "in use" or "resource busy" errors

The fix for this is two parts:

* Don't try to look for subpartitions on whole disks (e.g /dev/sda),
it tests for this by assuming that partitions have a `partition` thing
under sysfs

* Running find_root_partition on each iteration of the while loop just
in case the real partition showed up so we can bail out of the while
loop entirely. This is janky af, but since we have no idea if we're in
mount_subpartitions because we need to actually search for subpartitions
OR if we're here because of a slow-to-init block device, I'm not sure we
have any other choice.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7246>
2025-11-19 16:10:57 +00:00
Antoine Martin bde521a2aa linux-pine64-pinenote: upgrade to 6.17.8
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7364>
2025-11-19 15:40:13 +00:00
Stefan Hansson 68c5f9a516 device-purism-librem5: depend on bash
We package the lockdown-support.sh script from Purism's librem5-base
package. This script has a bash shebang[1] and so won't work with any
other shell. It also uses some bashisms that Ash doesn't support, so we
can't just change the shebang to be /bin/sh or such as that will break
the script.

As such, just solve this in the simplest way for now and depend on bash.
If someone feels motivated to replace the bashisms in the upstream
script they're very welcome to do so.

Closes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/4089

 [1]: https://source.puri.sm/Librem5/librem5-base/-/blob/07a4105dd4d96158e11d6796a25768926c7a3f30/default/lockdown-support/lockdown-support.sh#L1

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7376>
2025-11-19 15:36:11 +00:00
postmarketOS CI f4ef862f5e linux-next: upgrade to next-20251119 2025-11-19 05:42:26 +00:00
adamthiede c9e62b46f9 linux-postmarketos-mediatek-mt8173: upgrade to 6.17.8
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7394>
2025-11-18 21:46:59 +00:00
Achill Gilgenast 8132c148f1 systemd/networkmanager: upgrade to 1.54.2
Upstream:
- https://gitlab.alpinelinux.org/alpine/aports/-/commit/f897a08267c31b0f7ebff67f28c9a062d6ecae91
- https://gitlab.alpinelinux.org/alpine/aports/-/commit/5e6737e5422fafff5b812ff338275e35d7699497

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7396>
2025-11-18 20:33:00 +01:00
Lukas Timmermann db593b9d23 device-samsung-manta: Switch to u-boot
Signed-off-by: Lukas Timmermann <lukas@timmermann.space>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7208>
2025-11-18 05:56:01 +00:00
Lukas Timmermann c087973349 u-boot-manta: Introduce u-boot package for device-samsung-manta
Signed-off-by: Lukas Timmermann <lukas@timmermann.space>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7208>
2025-11-18 05:56:01 +00:00
Lukas Timmermann 2b8e664a33 linux-postmarketos-exynos5: Enable EFI booting
Signed-off-by: Lukas Timmermann <linux@timmermann.space>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7208>
2025-11-18 05:56:01 +00:00
Lukas Timmermann 4265586b81 device-samsung-manta: Fix obsolete deviceinfo
Signed-off-by: Lukas Timmermann <linux@timmermann.space>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7208>
2025-11-18 05:56:01 +00:00
postmarketOS CI 29271848b7 linux-next: upgrade to next-20251118 2025-11-18 05:50:09 +00:00
Jens Reidel 9121a7afbb linux-postmarketos-qcom-sdm670: Build with LLVM
See https://postmarketos.org/edge/2025/11/11/kernels-llvm/ for the
background behind this change and how we're handling these MRs.

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7347>
2025-11-18 02:05:50 +00:00
postmarketOS CI 2c16cc2615 linux-next: upgrade to next-20251117 2025-11-17 16:48:37 +00:00
Jens Reidel 619a2af680 kconfigcheck: Enable EFI_ZBOOT for RISC-V
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7392>
2025-11-17 10:13:44 +00:00
Jens Reidel bed66181bb kconfigcheck: Add missing dependencies
I am working on a RISC-V kernel that uses fragments and ran into a
couple of warnings / errors due to missing configs that resulted in some
other kconfigchecks failing. This fixes all of the errors I ran into.

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7392>
2025-11-17 10:13:44 +00:00
smallsolar c1590308f1 linux-samsung-a5y17lte: upgrade to 3.18.140
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7389>
2025-11-17 09:02:42 +00:00
David Buchanan 484b4aa79b linux-samsung-nevisp: fix build
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7390>
2025-11-17 09:59:02 +01:00
Jens Reidel 8dc1e78cf7 linux-pine64-pinephonepro: Use llvm-strip for modules_install
I had originally overlooked that this was necessary. If
INSTALL_MOD_STRIP=1 is set when invoking modules_install, we need to set
LLVM=1 to ensure that llvm-strip is used instead of GNU binutils strip.

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7350>
2025-11-16 17:48:23 +00:00
Jens Reidel 34ea519d4b linux-postmarketos-qcom-sm8250: Use llvm-strip for modules_install
I had originally overlooked that this was necessary. If
INSTALL_MOD_STRIP=1 is set when invoking modules_install, we need to set
LLVM=1 to ensure that llvm-strip is used instead of GNU binutils strip.

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7360>
2025-11-16 17:44:41 +00:00
Jens Reidel 8ff084d29e linux-postmarketos-qcom-sdm845: Use llvm-strip for modules_install
I had originally overlooked that this was necessary. If
INSTALL_MOD_STRIP=1 is set when invoking modules_install, we need to set
LLVM=1 to ensure that llvm-strip is used instead of GNU binutils strip.

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7358>
2025-11-16 17:20:54 +00:00
Aster Boese bcaa488e8c kconfigcheck: remove HID_BPF and its dependencies
HID_BPF conflicts with CLANG_CFI, which we want to enable in the near future.
It also doesn't seem that HID_BPF is particularly useful for postmarketOS as
a whole, so it should be fine to remove.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7370>
2025-11-16 16:29:59 +00:00
Achill Gilgenast 3ae47735b5 systemd/phosh: remove
systemd split func got added in Alpine with
<https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/93135>.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7387>
2025-11-16 12:05:00 +00:00
Clayton Craft 97e0b9644a linux-postmarketos-asahi: upgrade to 6.17.8-1
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7380>
2025-11-16 11:38:27 +00:00
Barnabás Czémán 89aa5da1c9 linux-postmarketos-qcom-msm89x7: Upgrade to v6.17.8-r0
Upgrade kernel to v6.17.8-r0 and adjust config to community target.

Signed-off-by: Barnabás Czémán <barnabas.czeman@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7383>
2025-11-16 11:35:35 +00:00
Bart Ribbers 795ff77a2d main/postmarketos-base-ui-plasma: depend on polkit systemd for systemd installations
Since 23e7b54acd488afbf30c666e2b17b8fa2f37970d in aports
polkit-kde-agent-1 doesn't pull in polkit-elogind anymore which seems to
also have caused the systemd installations in postmarketOS to not pull
in polkit-systemd anymore. Since that's a package that should be pulled
in from a meta package anyway (so they can differ per init system
properly) we should pull it in now as otherwise the keyboard input does
not work on SDDM (and there are probably more problems without it as
well).

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7385>
2025-11-16 11:33:00 +00:00
Bart Ribbers 83bb9428a5 systemd/kwin: rebuild against Qt 6.10
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7385>
2025-11-16 11:33:00 +00:00
Rudraksha Gupta 72dbafa432 Remove apq8064 kernel
This kernel shouldn't exist. msm8960 devices, like the expressatt,
already use the linux-* mainline kernels and the apq8064 is very related
to the msm8960. Let's deprecate this kernel and shift the devices that
depend on the apq8064 kernel onto the mainline kernels.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7334>
2025-11-16 09:12:14 +00:00
Jens Reidel 7c8101aa9a systemd/polkit: fix polkit-elogind provider priority
polkit-elogind has provider priority 10 in Alpine, so it would actually
end up preferred over the systemd polkit. Fix this by increasing the
priority of the provider. This went unnoticed so far because pmbootstrap
always preferred providers with exact name matches so far.

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7373>
2025-11-15 23:11:28 +00:00
Jens Reidel b8b88ac7fd systemd/networkmanager: Disable crossdirect for now
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7375>
2025-11-15 18:16:18 +00:00
Stefan Hansson 41f26f2942 main/postmarketos-ui-lomiri: disable on ppc64le
Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>

[ci:skip-vercheck]: These packages only change options read by
pmbootstrap, nothing that actually affects built packages.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7365>
2025-11-15 18:10:06 +00:00
Stefan Hansson c44545a8b7 main/postmarketos-ui-moonlight: set pmb:drm
This UI uses Cage as compositor which depends on wlroots and thus won't
work without DRM.

Closes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3920

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7365>
2025-11-15 18:10:06 +00:00
Stefan Hansson 92e5569199 main/postmarketos-ui-mediaberry: set pmb:drm
Mediaberry seems to use a wlroots-based Wayland compositor forked from
tinywl. As wlroots doesn't support running without DRM unless you do
some funny workarounds like running inside an X.Org session, I'm
confident our Mediaberry UI won't work without DRM as-is.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7365>
2025-11-15 18:10:06 +00:00
Stefan Hansson 34a4c68365 main/postmarketos-ui-lomiri: set pmb:drm
It seems like Mir, Lomiri's compositor, does require DRM based on a
quick web search[1]. I didn't actually attempt to verify it beyond that.
While it probably doesn't require DRM if you use whatever backend Ubuntu
Touch uses for its non-mainline devices, we probably don't have the
userspace required for that to work anyway. So given the lack of
evidence that it would work without DRM, let's just assume that's the
case unless someone finds out otherwise.

 [1]: https://forum.snapcraft.io/t/run-mir-kiosk-in-hyper-v-no-drm-devices-detected/25924

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7365>
2025-11-15 18:10:06 +00:00
Stefan Hansson b47edd33af CI: Remove obsolete deviceinfo validation
This functionality is now handled by dint.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7378>
2025-11-15 18:06:12 +00:00
Stefan Hansson 87b6b9b9fa main/dint: upgrade to 0.0.3
Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7378>
2025-11-15 18:06:12 +00:00
Jens Reidel 85dc98b0c1 postmarketos-ui-cosmic: Enable for loongarch64
COSMIC works fine on loongarch64.

[ci:skip-vercheck]: enable package for architecture

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7374>
2025-11-15 18:02:30 +00:00
Achill Gilgenast 101fa7ac5d systemd/systemd-services: remove phosh services
Upstreamed in Alpine: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/93087

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7377>
2025-11-15 16:01:08 +00:00
Affe Null c0dd84ed1a linux-postmarketos-unisoc-ums9230: upgrade to 6.18.0_rc5_git20251114
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7371>
2025-11-15 12:44:37 +00:00
Jens Reidel 4971cffa24 cross/systemd-boot-x86: upgrade to 258.2
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7372>
2025-11-15 00:08:53 +00:00
Jens Reidel 5858265e40 linux-postmarketos-qcom-sm7150: Use llvm-strip for modules_install
I had originally overlooked that this was necessary. If
INSTALL_MOD_STRIP=1 is set when invoking modules_install, we need to set
LLVM=1 to ensure that llvm-strip is used instead of GNU binutils strip.

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7359>
2025-11-14 23:51:16 +00:00
Jens Reidel e43ffcdd6f linux-postmarketos-rockchip: Use llvm-strip for modules_install
I had originally overlooked that this was necessary. If
INSTALL_MOD_STRIP=1 is set when invoking modules_install, we need to set
LLVM=1 to ensure that llvm-strip is used instead of GNU binutils strip.

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7361>
2025-11-14 23:48:24 +00:00
Robert Eckelmann 37cdda5adb kconfigcheck: adjust requirements for IP_NF_IPTABLES_LEGACY & IP6_NF_IPTABLES_LEGACY
These legacy options fail the kconfig check of `linux-google-nyan` which
is currently at 6.6.17. This was discovered during the step to update
the kconfig during !7273.

According to
https://cateee.net/lkddb/web-lkddb/IP_NF_IPTABLES_LEGACY.html and
https://cateee.net/lkddb/web-lkddb/IP6_NF_IPTABLES_LEGACY.html were
introduced with Kernel version 6.9

Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7367>
2025-11-14 22:49:04 +00:00
Jens Reidel b4dea23916 postmarketos-ui-cosmic: Enable for ppc64le
[ci:skip-vercheck]: enabling package for architecture

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7337>
2025-11-14 20:30:57 +00:00
Dang Huynh 9b2fd4ce5a linux-pine64-pinetab2: Upgrade to 6.17.8
This kernel version includes BES2600 Bluetooth UART driver and also
fixes black box around the cursor on KDE Plasma[1].

[1]: https://bugs.kde.org/show_bug.cgi?id=511274

Signed-off-by: Dang Huynh <dang.huynh@mainlining.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7366>
2025-11-14 16:20:57 +00:00
Jens Reidel 65f5257ce6 linux-postmarketos-mediatek-mt8173: Use llvm-strip for modules_install
I had originally overlooked that this was necessary. If
INSTALL_MOD_STRIP=1 is set when invoking modules_install, we need to set
LLVM=1 to ensure that llvm-strip is used instead of GNU binutils strip.

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7356>
2025-11-14 12:22:58 +00:00