Commit Graph
21 Commits
Author SHA1 Message Date
Clayton Craft 7513001408 systemd/systemd-services: drop speakersafetyd unit file
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7508>
2025-12-07 12:12:33 +00:00
Clayton Craft db35abcce4 modem/msm-modem: add systemd override for rmtfs.service
To make systemd start it before msm-modem-uim-selection. The upstream
rmtfs unit doesn't include this, so we package it here as an override.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7393>
2025-12-06 14:07:26 +00:00
Clayton Craftandbinarycraft007 069a69569d linux-postmarketos-qcom-laptop: upgrade to 6.17
The repo for this kernel is changed to linaro's gitlab, where they are
maintaining it. Johan no longer maintains this kernel at the original
location.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Co-authored-by: binarycraft007 <elliot.huang.signed@gmail.com>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6648>
2025-12-05 13:19:13 -08:00
Clayton Craft e535c50ddf device-lenovo-21bx: add more modules to initramfs
The kernel this device uses builds more things as modules now, so we
need to make sure they're in the initramfs

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6648>
2025-12-05 13:19:12 -08:00
Clayton Craft 5cbd09c81c kconfigcheck: rust: disable DEBUG_INFO_BTF
When this config is enabled along with LTO (from the "hardening"
category), the kernel build system disables rust support.

These options are added to a new category, "rust" since it's only
necessary for kernels with rust support enabled.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7466>
2025-12-01 08:27:17 -08:00
Clayton Craft 06ba129102 linux-postmarketos-asahi: upgrade to 6.17.9-1
Also updates kconfig based on latest toml

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7460>
2025-12-01 15:57:38 +00:00
Clayton Craft 1448a6cc3e main/boot-deploy: upgrade to 0.20.4
Fixes:
* Remove boot image header v2 spaghetti

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7418>
2025-11-24 09:22:30 -08:00
Clayton Craft 287331de80 kconfigcheck: require immutable category for community kernels
This will make testing immutable images easier, because currently I
suspect most kernels aren't enabling things like erofs...

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7395>
2025-11-21 17:14:02 +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
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
Clayton CraftandJens Reidel 64d6432ae2 linux-postmarketos-asahi: update to 6.17.7-2
This also migrates the config in this package to use kconfig generate

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Co-authored-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7324>
2025-11-12 20:09:42 +00:00
Clayton Craft 6d52a314b7 main/postmarketos-initramfs: enforce usage of busybox ash for init
It's possible some other (more strict) shells might provide /bin/sh and
get pulled into the initramfs, if that happens they may fail from our
usage of `local`. By explicitly listing busybox ash in the shebang, we
guarantee that we'll always use the shell we expect.

fixes #3518

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7313>
2025-11-12 01:19:12 +00:00
Clayton Craft 30e0f6d779 ci: deviceinfo_linting: add support for ci:skip-dint
Sometimes we just want to merge when deviceinfo is failing linting (e.g.
when moving a device pkg from a higher category to a lower one)

This should be used sparingly...

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7311>
2025-11-10 19:54:29 +00:00
Clayton Craft 8670cf46dd kconfigcheck: enable missing deps for NF and FW compression
Without these, generated config doesn't have FW compression enabled, and
a few other NF/IP -related options.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7323>
2025-11-10 01:46:05 +00:00
Clayton Craft 381903df5e device-apple-mac-aarch64: add vulkan subpkg
For installing vk support for Apple GPUs

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7309>
2025-11-08 15:54:28 +00:00
Clayton Craft c628fe7c6c linux-postmarketos-asahi: upgrade to 6.17.7
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7302>
2025-11-06 17:34:38 +00:00
Clayton Craft 7c137628be ci: shellcheck: add device-apple-mac-aarch64 scripts
There are a few of these, and they're probably complicated enough to
justify shellchecking them.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7112>
2025-10-28 09:38:56 +00:00
Clayton Craft 671da45525 ci: shellcheck: add os-installer's setup script
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7112>
2025-10-28 09:38:56 +00:00
Clayton Craft 6b51d3c9da main/postmarketos-ui-cosmic: disable audio over-amp by default
COSMIC is configured by default to allow "over amplification" of audio,
which is probably going to drive systems with sensitive speaker setups
(like macbooks, and the x13s) too hard. 100% on these is already plenty
loud. Users can override this default by flipping the switch in COSMIC
Settings app if they really want it.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7251>
2025-10-28 04:46:57 +00:00
Clayton Craft 3bbbf6cd9a device-apple-mac-aarch64: update initramfs modules list
6.17 kernel config builds many things as modules now

Audio is pretty much broken on pulseaudio and I don't care to debug it.
It works with pipewire/pw-pulse, so let's use that by default.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7224>
2025-10-25 21:29:41 +00:00
Clayton Craft ac433eed9c linux-postmarketos-asahi: upgrade to 6.17.5-1
Upstream now has a fragment so we no longer need 'device.config', but
there are some bugs with it (reported upstream) so we need to patch it
for now.

pmos.config fragment was also re-sync'd with kconfigcheck.toml

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7224>
2025-10-25 21:29:41 +00:00