Commit Graph
13226 Commits
Author SHA1 Message Date
Pablo Correa Gómez e510376e8b main/postmarketos-mkinitfs-hook-ci: add myself as Co-Maintainer
Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7881>
2026-03-12 19:17:36 +00:00
Pablo Correa Gómez 61f52ad05c main/postmarketos-mkinitfs-hook-ci: halt booting process after finishing
This is currently done in the initramfs itself, and there's no need to
leak that information, so follow-up commits will remove it from the
initramfs.

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7881>
2026-03-12 19:17:36 +00:00
Pablo Correa Gómez 864a894594 main/bootrr: upgrade to git20240706
Which includes the patches we were carrying

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7881>
2026-03-12 19:17:32 +00:00
Pablo Correa Gómez 3fd2bd3660 main/bootrr: drop now-unused pmtest subpackage
This allows to upstream the package to alpine, and makes the logic
more consistent.

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7881>
2026-03-12 19:17:32 +00:00
Pablo Correa Gómez c987bdece9 device/*: depend on postmarketos-test-bootrr in pmtest subpackages
Which is more consistent and avoids requiring bootrr in pmaports

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7881>
2026-03-12 19:17:29 +00:00
Pablo Correa Gómez 733dde2963 main/postmarketos-test: document a bit the split function
Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7881>
2026-03-12 19:17:29 +00:00
Pablo Correa Gómez 8283f0002a main/postmarketos-test: add bootrr subpackage
Taking the files from the bootrr package. This will allow us to move
the package to alpine in the future, also to, in follow-up commits,
make the use of the postmarketos-test package consistent.

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7881>
2026-03-12 19:17:25 +00:00
Pablo Correa Gómez 5a4a943e9a main/postmarketos-test: let tests add additional files to the initramfs
This will be used in follow-up commits to bring in more tests from
other packages in pmaports

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7881>
2026-03-12 19:17:22 +00:00
Pablo Correa Gómez 4dbd727be9 main/postmarketos-test: do not hardcode 90 as a prefix for _test function
Instead, use shell globbing to find the corresponding file. This
allows using the function for the -unl0kr subpackage, and improves the
consistency between the filenames

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7881>
2026-03-12 19:17:18 +00:00
Pablo Correa Gómez f6266abc12 main/postmarketos-test: remove support for unused rootfs tests
When we create rootfs tests, they will involve more complex scenarios
that might not be fit for this simple packaging and shell
scripts. Therefore, remove it to simplify developing initramfs tests

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7881>
2026-03-12 19:17:15 +00:00
Pablo Correa Gómez ac541f7afb ci: small simplification in generate_build_jobs
We don't need to check against "is_present_in_ci", since we already
did not consider devices that did not have a gitlab_ci_fragment

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7881>
2026-03-12 19:17:12 +00:00
Pablo Correa Gómez 51bce1ca99 ci: rename single-runner-defined-in-ci-common-with-vmlinuz-kernel-variant.yml.j2
Since 2056701d6c there's no kernel
variant!

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7881>
2026-03-12 19:17:08 +00:00
Pablo Correa Gómez 53522ff505 ci: add an explanatory comment to qcom ci-tron kernel cmdline variable
Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7881>
2026-03-12 19:17:08 +00:00
Pablo Correa Gómez a74918cca6 ci: define the kind of tests to run in each jinja template
This is the main entrypoint to understand what tests each device is
running. Therefore, it avoids one extra level of indirection, and
allows for different devices to run different kind of tests in the
future.

Signed-off-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7881>
2026-03-12 19:17:08 +00:00
Luca Weiss 23f13c2384 linux-postmarketos-qcom-msm8226: build with LLVM & update config per kconfigcheck
Migrate the compiler to LLVM toolchain and update config as per required
and preferred config options by kconfigcheck.

Update the APKBUILD to follow some more recent standards as well.

And similar to linux-postmarketos-qcom-msm8974, activate
CONFIG_CC_OPTIMIZE_FOR_SIZE and CONFIG_KERNEL_XZ to get the kernel a bit
smaller again.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7539>
2026-03-12 20:12:32 +01:00
Stefan Hansson cfff222fb2 CI: Add mypy check
Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7960>
2026-03-12 18:53:15 +00:00
Stefan Hansson 38434fbed9 CI: lib/generate_build_jobs.py: Fix type error
Caught by mypy.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7960>
2026-03-12 18:53:15 +00:00
AelinandPablo Correa Gómez 0e41c1bcbd docs: Add documentation on firmware packaging
Add firmware packaging guidelines to the documentation. The goal behind
this was to make it so that it is very clear which packaging method is
preferred for which cases to avoid fragmentation and inconsistency in
pmaports packaging.

Co-authored-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8161>
2026-03-12 18:42:59 +00:00
Dang Huynh 160da0aa81 linux-pine64-pinetab2: Upgrade to 6.19.6
Signed-off-by: Dang Huynh <dang.huynh@mainlining.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8158>
2026-03-12 18:20:43 +00:00
Clayton Craft ef30e86f09 kconfigcheck: add additional kconfig requirements for systemd
From: https://github.com/systemd/systemd/blob/main/README

All of these config options are bool, hence why they are set to "y".
Kernels will also need to add pahole to the makedepends to support BPF.

fixes #3769

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6707>
2026-03-12 18:11:11 +00:00
Aelin 6520fb5c9f linux-postmarketos-lts: Temporarily patch for LLVM-only build on ppc64le
See previous commit for details

[ci:skip-vercheck]: let's not rebuild all the architectures when we're
only touching ppc64le that isn't building in BPO

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8072>
2026-03-12 17:37:30 +00:00
Aelin c99c4271d7 linux-postmarketos-stable: Temporarily patch for LLVM-only build on ppc64le
See previous commit for details

[ci:skip-vercheck]: let's not rebuild all the architectures when we're
only touching ppc64le that isn't building in BPO

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8072>
2026-03-12 17:37:30 +00:00
Aelin ab005ffc19 linux-postmarketos-mainline: Temporarily patch for LLVM-only build on ppc64le
The PowerPC boot wrapper script in Linux currently requires a GNU
cross toolchain in PATH. This went unnoticed because we currently always
install GCC for native builds, but since recently only install a cross
GCC toolchain if clang is not used to build.

Indeed, we want to only build the kernel with clang and LLVM binutils.
There has been some discussion around fixing this in the past, and
Nathan Chancellor has written some patches that do fix it, but has
apparently not submitted them because the VDSO may require further
changes. I've followed up on the mailing list and asked about the
possibility to submit the patches without reworking the VDSO, since it
fixes this particular usecase nonetheless.

I've also considered installing the cross GCC package in the APKBUILD,
but that's not possible because pmbootstrap cannot evaluate conditional
dependencies. As it stands, we *need* to patch the kernel to get it
building, or revert the pmbootstrap patch, which I really want to avoid.
I'll do my best to get these patches integrated upstream.

[ci:skip-vercheck]: let's not rebuild all the architectures when we're
only touching ppc64le that isn't building in BPO

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8072>
2026-03-12 17:37:30 +00:00
Aelin cbad33f921 docs: generic-kernels: Allow cherry-picking patches to fix compilation
In the case that the compilation is broken, it is not possible to wait
until a patch is merged upstream to fix it. We want to be able to patch
the kernels temporarily while also ensuring the fixes make it upstream.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8072>
2026-03-12 17:37:30 +00:00
Clayton Craft 0f0b8ceaa2 main/postmarketos-zram: override vm.min_free_kbytes if >= 1GB RAM
Without a sufficient vm.min_free_kbytes value, the kernel may not start
reclaiming memory early enough to make use of zram swap before the
kernel OOM killer fires. Set a minimum of 100000 KB on devices with >=
1GB of RAM where the kernel's calculated value is lower.

This ignores devices with <1GB of RAM, because I think with so little
RAM isn't unlikely to really matter and if we set this too high then we
risk insta-OOMs.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8157>
2026-03-12 15:55:24 +00:00
Clayton Craft b383547b54 systemd/postmarketos-base-systemd: lower system limit for journald
This sets the max disk space used by journald logs to 1GB (systemd
default is 4GB). This seems like a good trade-off between having access
to more older logs in case there are transient issues that need debug
or we need to understand system behavior long term, and not filling too much
space on devices with little storage.

If a device is really constrained for space, the device package
can ship an override file in journald.conf.d to lower this limit
even further. Users/system admins can also override this value in
/etc/systemd/journald.conf.d.

Fixes #4389

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8156>
2026-03-12 15:51:58 +00:00
Clayton Craft 3df5cc176b docs: document kconfig fragment usage for kernel maintainers
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7606>
2026-03-11 17:27:20 -07:00
postmarketOS CI 94b8e2cdb4 linux-next: upgrade to next-20260311 2026-03-11 16:45:23 +00:00
Robert EckelmannandAster Boese 32493ba680 device-xiaomi-beryllium: disable quiet
similiar to !7953 this might also help on beryllium

Signed-off-by: Robert Eckelmann <longnoserob@postmarketos.org>
Co-authored-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7955>
2026-03-11 22:53:52 +09:00
Clayton Craft 5d3d7cebcf systemd/systemd: enable initrd units
For using systemd in the duranium initramfs. This should have no impact
on mutable pmOS, other than some extra (unused) units being installed
in the rootfs. This does not switch mutable pmOS to using systemd in
the initramfs.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8125>
2026-03-11 07:36:50 +00:00
postmarketOS CI 6c928e6db4 linux-next: upgrade to next-20260310 2026-03-11 05:38:32 +00:00
Clayton Craft d56116026b systemd/systemd: Replace maintainers Jane & Casey with Clayton & Achill
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8153>
2026-03-10 22:34:17 +00:00
Aelin 203f6fdb0f linux-postmarketos-mainline: Upgrade to 7.0_rc3
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8148>
2026-03-10 20:08:39 +00:00
icy d2d2f6bede linux-postmarketos-qcom-msm89x7: Enable RTL8XXXU Wi-Fi driver
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8127>
2026-03-10 19:02:58 +00:00
Cédric Bellegarde 66ddffc718 soc-qcom: Always restart call-audio-idle-suspend-workaround
When a graphical session is stopped while connected via SSH, the
dbus-monitor process is killed and the service is marked as failed.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8149>
2026-03-10 18:58:39 +00:00
H3 75b279265c [samsung-jfvelte] fix boot image size
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8147>
2026-03-10 15:34:48 +00:00
postmarketOS CI 84328af8e1 linux-next: upgrade to next-20260309 2026-03-10 05:38:38 +00:00
WeirdTreeThing b8db607046 device-xunlong-orangepi5-plus: add nvme and hid_generic to initfs
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8146>
2026-03-09 16:04:17 +00:00
Kszyś efe90148eb samsung-a52sxq: new device
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8013>
2026-03-09 15:55:34 +00:00
Oliver Smith 9fae52605b systemd/postmarketos-base-systemd: add phosh-tour preset
Signed-off-by: Oliver Smith <ollieparanoid@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8145>
2026-03-09 15:47:49 +01:00
Oliver Smith 61382834c1 main/postmarketos-ui-phosh: recommend phosh-tour
Put phosh-tour in pmb_recommends instead of having postmarketos-welcome
indirectly installed by default through
postmarketos-base-ui-gnome-mobile. In order to do that, move
postmarketos-welcome from the pmb_recommends of
postmarketos-base-ui-gnome-mobile to postmarketos-ui-gnome-mobile.

The reasons for that is that the postmarketos-welcome app by now has
in part incomplete and outdated explanations about how phosh shall be
used. For example, a common question that we don't answer but phosh-tour
does is how the keyboard can be launched from any app.

The postmarketos-welcome app warns more about that this is an
experimental system, but that is prominently displayed on our homepage
when trying to download images. Otherwise it also doesn't contain much
information that makes it worth keeping instead of phosh-tour.

Finally phosh upstrem has also said that they would be willing to have
distro-specific tour pages, so if we notice that something would be
really good to have there in the long run, we could look into getting it
in phosh-tour.

[ci:skip-vercheck]: changing pmb_recommends doesn't need rebuilds

Signed-off-by: Oliver Smith <ollieparanoid@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8145>
2026-03-08 20:54:00 +01:00
hexaheximal 6034b0b06d device-odroid-n2plus: fix u-boot path
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8143>
2026-03-08 13:19:06 -04:00
Oliver Smith 12e42c192f docs/generic-device-packages: new page
Start the documentation for generic device packages and document how to
handle device-specific services. This is a question that came up in the
review of PMCR-0009 (new main device category).

Signed-off-by: Oliver Smith <ollieparanoid@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8122>
2026-03-08 16:40:45 +00:00
Oliver Smith 31a4d7ae92 device-zhihe-generic: rename from device-generic-zhihe
This was the only package starting with "device-generic-" that did not
end in an architecture name, which means it is not generic for that
architecture. Rename this package, so we can define all packages
starting with "device-generic-" as Generic Device Packages and document
guidelines for making these types of packages consistent.

Signed-off-by: Oliver Smith <ollieparanoid@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8122>
2026-03-08 16:40:45 +00:00
Biswapriyo Nath 92886d24bf device-nokia-panther: move to archive
nokia-panther works with qcom-msm89x7 linux kernel v6.19.3-r0 (!8081) and lk2nd 22.0 (!8073)

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8095>
2026-03-08 16:38:06 +00:00
Aelin f2ee4a42c6 systemd/systemd-stage0: upgrade to 259.3
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8128>
2026-03-08 16:28:24 +00:00
Aelin ccbe51263a systemd/systemd: upgrade to 259.3
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8128>
2026-03-08 16:28:24 +00:00
Bart Ribbers 3af802b59c systemd/plasma-login-manager: set minimum UID to filter out system accounts
Without this set it will consider way more accounts than user accounts
as accounts you can log into and show them, which is obviously wrong.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8140>
2026-03-08 12:56:03 +00:00
Achill Gilgenast 28a0b4c382 systemd/postmarketos-repo-nightly: new aport
Allows easier installation of nightly repositories with e.g. apk add
phosh-nightly && apk upgrade -Ua

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7807>
2026-03-08 13:30:16 +01:00
Achill Gilgenast 24681624eb docs: mention to open issues when a merge happend without maintainer response
See the meeting notes from the 2026-01-19:
(https://docs.postmarketos.org/policies-and-processes/governance/team-meetings/meeting-notes.html)

> Discussed pmaports!7770, possibly limiting the wait period for maintainer
> approval from 2 weeks to 1 week.
>
> We discussed to keep 2 weeks and make an issue template for “had to merge
> without maintainer review”, the new process will then be that the template
> gets filled out if a MR has to be merged without maintainer review after
> two weeks. The maintainer can then either say that they plan to review
> future merge requests, or indicate that they don’t want to maintain the
> thing anymore, or just not respond (which implies that they don’t want
> to maintain anymore). That way we should be able to get the listed
> maintainers to reflect reality better.
>
> Everyone reading this, please make sure you are not listed as maintainer
> for packages that you don’t plan to do reviews for anymore :)

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7770>
2026-03-08 11:07:53 +01:00