Commit Graph
100 Commits
Author SHA1 Message Date
Aster Boese 60545412b2 treewide: device/community: remove usage of nonfree-firmware subpackages
pkgname-nonfree-firmware packages have been not allowed for years, but nearly
every device package just didn't fix that. With the new grep check, these need
to be fixed no matter what.

The changing of `replaces=` to include the full name of the package and not
the pkgname variable is to work around limitations of the grep ci check, as it
cannot differentiate between a nonfree-firmware subpackage and a string
stating its replacement. A workaround for that is to use the whole package
name, as the grep check checks for the pkgname variable.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8958>
2026-07-19 20:36:39 +00:00
Aster Boese 59ed57f455 soc-qcom-sc7180: refactor to stop using nonfree-firmware logic
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8958>
2026-07-19 20:36:39 +00:00
Aster Boese 861af795fa firmware-shift-sdm845: cleanup sensors subpackage
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8958>
2026-07-19 20:36:35 +00:00
Aster Boese bb7f2b4f53 firmware-oneplus-sdm845: cleanup sensors subpackage
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8958>
2026-07-19 20:36:31 +00:00
Aster Boese 9dddb789ee linux-purism-librem5: remove reference to nonfree-firmware
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8958>
2026-07-19 20:36:28 +00:00
Aster Boese f12cb52187 firmware-xiaomi-beryllium: cleanup sensors subpackage
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8958>
2026-07-19 20:36:28 +00:00
Aster Boese 17584b65b8 firmware-samsung-fortuna: fix building armv7 subpackage and do minor cleanup
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8961>
2026-07-19 19:12:34 +00:00
Aster Boese e5536561a6 treewide: device/testing: remove nonfree-firmware subpackages
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8961>
2026-07-19 19:12:34 +00:00
Aster Boese 99a29f5dd3 soc-qcom-sm7125: refactor to stop using nonfree-firmware logic
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8961>
2026-07-19 19:12:34 +00:00
Aster Boese d94fb692d1 soc-qcom-msm8996: refactor to stop using nonfree-firmware logic
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8961>
2026-07-19 19:12:31 +00:00
Aster Boese 19321d478d firmware-xiaomi-miatoll: cleanup sensors subpackage
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8961>
2026-07-19 19:12:27 +00:00
Aster Boese f12ea644bd treewide: device/downstream: remove nonfree-firmware subpackages
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8960>
2026-07-19 15:10:34 +00:00
Aster Boese 921afa5da1 sqfmi-beepy: adapt to usr-merge
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9062>
2026-07-19 04:02:31 +00:00
Aster Boese 5e6995c593 xiaomi-polaris: move to archived
The maintainer has been inactive and does not have a pmOS
GitLab account. This was actually brought up in the past
with pmaports!6618, but the device ended up staying around.
I pinged the proposed maintainer
[in an MR](https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9067#note_570185)
instead and they said that archival is fine for now.

[ci:skip-grep]

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9073>
2026-07-19 03:39:06 +00:00
Aster Boese c6326acb87 cutiepi-tablet: move to archived
The maintainer has no pmOS GitLab account, meaning the device
has been functionally unmaintained for years at this point.

[ci:skip-grep]

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9072>
2026-07-18 21:56:37 +02:00
Aster Boese e3ba2d6d1d kconfig-generic: add various configs for generic x86 devices
Adds a few configs found when working to move generic-x86_64 to the main
kernels.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9011>
2026-07-18 14:19:40 +02:00
Aster Boese 674c8179f9 linux-samsung-degaswifi: sync kconfig and fix kconfigedit
Signed-off-by: Aster Boese <asterboese@mailbox.org>

[ci:skip-grep]

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8197>
2026-07-18 11:52:03 +02:00
Aster Boese 6794de49ad linux-samsung-a5y17lte: sync kconfig and fix kconfigedit
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8197>
2026-07-18 11:52:01 +02:00
Aster Boese 05ed07c404 linux-yu-tomato: sync kconfig and fix kconfigedit
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8197>
2026-07-18 11:51:59 +02:00
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 ece20f16e5 ci: ec: enforce proper line endings for more files
The POSIX standard defines a line as terminating in a newline. Non-POSIX
systems (such as Windows) generally do not automatically add a newline
to the end of a line, leading to some files not having a newline at their
end. This is an issue because, while a good portion of modern Linux tooling
can handle missing newlines, some cannot, leading to breakage on
non-conformant files. This is also better for consistency and preventing
unnecessary edits to files because a contributor's editor saves a file with
an automatically added newline when there wasn't one originally.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8197>
2026-07-18 11:51:54 +02:00
Aster Boese f3eb5b5e4e linux-postmarketos-qcom-msm8994: build with LLVM
Building with LLVM is a requirement for every category higher than downstream,
so this kernel must be built with LLVM. This is part of a larger distro-wide
effort to build with LLVM.

- Builds with LLVM
- Fixes style errors
- Updates kconfig

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9039>
2026-07-17 21:45:22 +00: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
Aster Boese bc290e18a8 docs: document splitting kconfig MRs logically
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9059>
2026-07-17 13:56:46 +00:00
Aster Boese fefa738e0f linux-pine64-pinetab2: build with LLVM
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9027>
2026-07-16 16:23:36 +00:00
Aster Boese befad63cc6 linux-postmarketos-qcom-msm8916: convert CONFIG_LEDS_QCOM_LPG to built-in
This config needs to be built-in to ensure that it is loaded ASAP during boot and doesn't
depend on module loading logic.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9036>
2026-07-16 12:08:17 +02:00
Aster Boese 8ebdf87320 linux-postmarketos-qcom-msm8916: build with LLVM
- Builds with LLVM
- Fixes style errors
- Updates kconfig
- Adds patch to fix wcslen with LLVM

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9036>
2026-07-16 12:04:16 +02:00
Aster Boese 151e4d7a06 gitlab-ci: don't try building pbsplash
pbsplash has been dropped from pmaports, so this build will not successfully
finish. Instead, build mkbootimg-osm0sis.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9030>
2026-07-15 14:45:38 +02: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 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
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
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
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
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
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
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
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 5e5a451de1 systemd: remove unnecessary provider_priority's
When all the provides are versioned, provider_priority does nothing, so it is safe and correct to remove.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8889>
2026-07-08 06:55:12 +02:00
Aster Boese 37bd754397 samsung-janice: stop depending on firmware-samsung-janice
firmware-samsung-janice got moved to dependencies with
1ce58c5ae1, but the
firmware package is in archived, so it cannot be depended
on. firmware-samsung-u8500 is the proper replacement for
the device-specific firmware package.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8968>
2026-07-06 22:31:41 +00:00
Aster Boese 1ab5c4ed75 ci: fix test_providers.py to not fail if provider_priority is 0
As per the apk-tools and abuild source code, 0 is a perfectly valid integer
for provider_priority, but our Python tests currently fail with a priority of 0
because 0 and None are the same in the if statement that checks priority.

Changes the if statement that checks priority to fail if the priority is
explicitly None.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8973>
2026-07-06 20:47:06 +00:00
Aster Boese a6cef777a0 ci: grep: disallow contributor comments
[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/8950>
2026-07-06 20:41:44 +02: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 b00b2a23d7 docs: reaffirm not using contributor comments
This was first brought up in pmaports#543, but a few contributor
comments have snuck in over time. This reaffirms that we don't use
them.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8950>
2026-07-06 20:41:40 +02:00
Aster Boese 1ce58c5ae1 samsung-janice: remove nonfree-firmware subpackage
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7715>
2026-07-06 11:06:26 +00:00
Aster Boese 4d6269a4d8 asus-flo: remove nonfree-firmware subpackage
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7715>
2026-07-06 11:06:26 +00:00
Aster Boese 70baa2ad5f alcatel-pop7lte: remove nonfree-firmware subpackage
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7715>
2026-07-06 11:06:26 +00:00
Aster Boese aa159ab24c treewide: rebuild for devicepkg-dev udev move and add udev subpackage
Bumps pkgrels of packages that install a udev config with devicepkg-dev and
creates $pkgname-udev subpackages for the packages that do not have them.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7715>
2026-07-06 11:06:26 +00: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
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
Aster Boese a74048b1e2 ci: grep: disallow /etc/phoc.ini
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8845>
2026-07-05 12:05:55 +02:00
Aster Boese 68860e07af xiaomi-polaris: remove nonfree-firmware subpackage
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8845>
2026-07-05 12:02:09 +02:00
Aster Boese f743e7a93a xiaomi-gemini: remove nonfree-firmware subpackage
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8845>
2026-07-05 12:02:07 +02:00
Aster Boese 10d6527f1d samsung-kyle: remove nonfree-firmware subpackage
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8845>
2026-07-05 12:02:06 +02:00
Aster Boese 054045262e samsung-gt58: remove nonfree-firmware subpackage
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8845>
2026-07-05 12:02:04 +02:00
Aster Boese 47bb1dc71a samsung-gt510: remove nonfree-firmware subpackage
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8845>
2026-07-05 12:01:58 +02:00
Aster Boese 0335f10995 samsung-gavini: remove nonfree-firmware subpackage
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8845>
2026-07-05 12:01:55 +02:00
Aster Boese 2fe890f4c9 samsung-codina-tmo: remove nonfree-firmware subpackage
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8845>
2026-07-05 12:01:52 +02:00
Aster Boese 67679c234e lg-hammerhead: remove nonfree-firmware subpackage
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8845>
2026-07-05 12:01:47 +02:00
Aster Boese 7ee22896ae xiaomi-natrium: remove nonfree firmware subpackage
Compiles with pmaports#2607 and fixes aport-lint by moving install to top-level.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8845>
2026-07-05 11:58:28 +02:00
Aster Boese 9d8a435f97 ayn-odin: move install to top-level
Fixes aport-lint

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8845>
2026-07-05 11:58:26 +02:00
Aster Boese 314324fba9 xiaomi-scorpio: remove nonfree firmware subpackage
Compiles with pmaports#2607 and fixes aport-lint by moving install to top-level.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8845>
2026-07-05 11:58:24 +02:00
Aster Boese 43cdf66186 treewide: install phoc.ini to /usr/share/phosh/ and cleanup
phoc only loads one config file, with `/etc/phoc.ini` overriding `/usr/share/phosh/phoc.ini`.
Because `/usr/share/phosh/phoc.ini` only contains defaults, it is safe to override with the
device's phoc.ini and free up `/etc/phoc.ini` for user configs. If a user has modified
`/etc/phoc.ini` on their install, it will not be removed, making this change safe.

Also does various small cleanups, like setting the `install_if` to `postmarketos-ui-phosh`
instead of plain `phosh`.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8845>
2026-07-05 11:58:22 +02:00
Aster Boese f5453e2e38 firmware-asus-s5507q: install to /usr/ and cleanup
Cleans up the packaging and installs the firmware files to /usr/lib/. Moves
the actual firmware out of the -common subpackage and into the regular
package, as this is the logical move, since the subpackages depend upon the
parent package anyways and the -dpu subpackage depends upon the firmware
files, which wouldn't exist if the -common subpackage wasn't previously
installed.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8915>
2026-07-04 23:51:52 +00:00
Aster Boese cd3a15a480 gitlab-ci: check kconfig when APKBUILD of kernel package is modified
Previously, kconfigcheck would only run if the kernel configs of a
kernel package where changed. This means that, if a kernel package
is not directly upgraded, the kernel config will most likely never
be touched, leading to extremely out-of-date kernel configs.
Checking when the APKBUILD is modified instead would force the
check at every modification of a kernel package, forcing more
up-to-date configs.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8923>
2026-06-28 07:55:51 +00:00
Aster Boese 12ed1e8f99 ci: grep: remove device exceptions from wallpaper check
Every excepted device is either fixed or in archived. If the devices are
moved back, they should be fixed during the move.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8922>
2026-06-27 21:56:52 +00:00
Aster Boese 51d322dd4b ci: grep: disallow nonfree-firmware subpackages
The original disallowing of these subpackages happened in 2024.
It was expected that device packages would be voluntarily migrated
by the maintainers to reflect this new rule. But, this never happened.
Thus, enforcing this on all new and changed packages will force
the fixing of these packages.

This is not a treewide because so many packages still use the
nonfree-firmware subpackage logic that an MR would be an absolute pain
to handle and rebase. This is also a very easy fix to incorporate into
unrelated changes.

See https://postmarketos.org/edge/2024/02/15/default-nonfree-fw/

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8914>
2026-06-27 12:39:53 +02: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
Aster Boese 6347ed4510 systemd/*: remove eudev-dev dependencies
Even though systemd-dev provides eudev-dev, it doesn't make sense
to keep these dependencies, since we fully control the systemd
repo and don't need to work around these things. Most of these
packages depend on systemd-dev anyways, making this second
dependency useless.

This frees up some room for modifying the provides of systemd to
better integrate with the regular repo in the future.

Signed-off-by: Aster Boese <asterboese@mailbox.org>

[ci:skip-vercheck]: enabling package for arch

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8902>
2026-06-26 09:08:18 +00:00
Aster Boese e603f09fd6 CI: grep: disallow /etc/local.d
/etc/local.d/ is reserved entirely for sysadmins for usage with OpenRC.
There was an effort to move this path to *-openrc subpackages in
abuild!484, but it was stalled for this reason. As such, it makes
the most sense to disallow all files in /etc/local.d/ in packaging.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8745>
2026-06-24 12:15:19 +02:00
Aster Boese 14fced3a3c pine64-pinebookpro: convert start script to openRC service
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8744>
2026-06-20 17:03:25 +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
Aster Boese 9f4e4777a8 docs: reference Alpine Linux's CODINGSTYLE.md
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8847>
2026-06-18 13:39:33 +00:00
Aster Boese ff88820b6a lenovo-21bx: add myself as co-maintainer and move reference to top
Signed-off-by: Aster Boese <asterboese@mailbox.org>

[ci:skip-vercheck]

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8844>
2026-06-17 18:32:37 +02:00
Aster Boese 283ff28eff device-lenovo-21bx: add boot-deploy hook to remove EFI capsules file
Persisted_Captules.sh is huge (70 MB) and can cause boot-deploy failures
when doing transactions that do large modifications to `/boot/`, such as
switching kernel packages. Persisted_Capsules.sh is recreated on reboot
and we do not use it for anything currently, so it is safe to remove in a
hook.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8368>
2026-06-17 15:01:58 +00:00
Aster Boese f0b0dff385 device-lenovo-21bx: switch to mainline kernels
Adds support for the kernels in main (lts, mainline, stable) and removes
support for linux-postmarketos-qcom-laptop after discussion with the
kernel's maintainers, as it is most likely going to be dropped, or at
least moved to testing.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8368>
2026-06-17 15:01:58 +00:00
Aster Boese 3e322e01a1 apple-idevice: fix APKBUILD formatting
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8800>
2026-06-15 19:15:13 +00:00
Aster Boese 8615aac3af apple-idevice: depend on firmware-apple-idevice
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8800>
2026-06-15 19:15:13 +00:00
Aster Boese 1ec34e426f firmware-apple-idevice: new package
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8800>
2026-06-15 19:15:09 +00:00
Aster Boese 15eb62c214 cross/gcc-*: Upgrade to 15.2.0-r6
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8814>
2026-06-14 16:53:59 +00:00
Aster Boese 842f171d02 .gitlab: Out_of_date_community_kernels.md: use ymd for date and clarify title
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8816>
2026-06-14 17:10:03 +02:00
Aster Boese e1e0ccc2e9 pmaports.cfg: add install_user_groups
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8767>
2026-06-12 17:26:20 +00:00
Aster Boese 9755b0ed94 main/postmarketos-ui-sxmo-*: explicitly add user to input
The input group should not be blanket allowed for UIs that do not need it as
it bypasses the security benefits of Wayland. This change explicitly adds
the input group to only the UIs that absolutely require it, which is only
SXMO due to their udev rules and lisgd.

Signed-off-by: Aster Boese <asterboese@mailbox.org>

[ci:skip-vercheck]

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8767>
2026-06-12 17:26:20 +00:00
Aster Boese 4569ead4f7 google-x64cros: add new maintainer and move myself to contributor
My Chromebook finally died on me (after 10 years!), so I cannot maintain
this device anymore.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8743>
2026-06-10 15:21:58 +00:00
Aster Boese 19de35d151 google-manta: depend on firmware-google-manta
Switches the depends from firmware-samsung-manta to firmware-google-manta.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8778>
2026-06-10 16:53:52 +02:00
Aster Boese 3d47d387a3 treewide: remove userspace pd-mapper from sdm845 devices
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8663>
2026-06-10 07:43:05 +00:00
Aster Boese cc7fd734f3 linux-postmarketos-qcom-sdm845: enable in-kernel pd-mapper
The in-kernel pd-mapper was disabled with
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6032
to work around an issue with call audio on xiaomi-beryllium and
oneplus-enchilada. With the pending removal of the userspace pd-mapper from
Alpine, the in-kernel pd-mapper must be used.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8663>
2026-06-10 07:43:05 +00:00
Aster Boese fb74aa230e docs: document how to create a UI package
Updates and replaces https://wiki.postmarketos.org/wiki/UI_specific_package,
being a bit more specific as to what is expected out of a UI package and
how exactly to create one.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8720>
2026-06-10 07:26:39 +00:00
Aster Boese 9c2c311330 main/postmarketos-artwork: use amove instead of installing to subpkgdir
Installing files in subpackages is bad practice, as amove is much preferred.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8741>
2026-06-07 15:41:39 +02:00
Aster Boese 373b88d53f main/postmarketos-artwork: download individual files
Previously, when pulling sources, the entire 285M artwork repo was pulled. With this change, only the packaged files are pulled.

Closes https://gitlab.postmarketos.org/postmarketOS/pmaports/-/work_items/4595

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8741>
2026-06-07 15:41:32 +02:00
Aster Boese 864cc6c223 systemd/systemd: remove clang and llvm from makedepends
Clang isn't needed for compilation of systemd. The only reason I can
think of for this being here is that, when systemd was first added,
Alpine's GCC may have been too old for BPF. The LLVM dependency also
is removed

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8726>
2026-06-05 15:39:59 +00:00
Aster Boese 6b1a2b41fb main/postmarketos-initramfs: add libinput-udev to depends
https://gitlab.alpinelinux.org/alpine/aports/-/commit/6b63703a58e35adb2377d12278e5de397b2ed547
changed the udev subpackage for libinput. Previously, it would be pulled in if
libinput-libs and a udev implementation were installed at the same time. Now,
it uses the default logic for udev subpackages, preventing it from being
pulled in with postmarketos-initramfs only depending on -libs. This change
explicitly depends on -udev to fix this issue.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8715>
2026-06-02 20:29:44 +00:00
Aster Boese cb7bce13df main/postmarketos-initramfs: remove unudhcpd.conf
Everything included in the unudhcpd.conf file is already the default in
init_functions.sh. Adding the !optional key to the initramfs config allows
these configs to be overwritten by users if need-be.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8696>
2026-06-02 14:10:26 +00:00