Commit Graph
2941 Commits
Author SHA1 Message Date
Achill Gilgenast 30e495bbf0 main/watchdog-kick: fix typo in pkgdesc
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7443>
2025-11-30 19:21:10 +01:00
Achill Gilgenast be53edf1b0 main/watchdog-kick: move install= into top-level scope
and run default_openrc which will move watchdog-kick.init to the right
subpkg

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7443>
2025-11-30 19:21:10 +01:00
Achill Gilgenast 8fa9f9548f main/watchdog-kick: subpackage -systemd
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7443>
2025-11-30 19:21:10 +01:00
Oliver Smith ea9364e58e main/postmarketos-base-nofde: set provides version
Let postmarketos-base-nofde provide a specific version of
postmarketos-fde-unlocker, so pmbootstrap considers the package for
installation. From pmb/helpers/pmaports.py:_find_package_in_apkbuild():

  # Ignore provides without version, they shall never be
  # automatically selected
  if "=" not in provides_i:
      continue

Fix for bootstrapping new repositories, which currently fails with:

  ERROR: postmarketos-initramfs: dependency not found: postmarketos-fde-unlocker

...when trying to build postmarketos-cros-common or
device-valve-jupiter.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7455>
2025-11-30 15:50:26 +01:00
Jens ReidelandPablo Correa Gómez cdea3b1578 keepfileopen: fix builddir
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Co-authored-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7436>
2025-11-30 14:35:49 +01:00
Jens Reidel e3e4459e7a postmarketos-cros-common: fix build with new abuild
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7439>
2025-11-28 10:35:49 +00:00
Jens Reidel 7f8b19868f main/dtbtool-sprd: fix build
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7435>
2025-11-27 23:22:09 +01:00
Jens Reidel 9d83ec7d1f main/gcc6: fix build
See the GCC 4 MR. This is basically the same changes, but we also need
one extra backport to build this version of GCC.

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7426>
2025-11-26 18:25:03 +00:00
Jens Reidel bf57c094e4 main/gcc4: upgrade to 4.9.4, fix build
This upgrade GCC 4 to 4.9.4, the last release in the GCC 4 series. This
lets us drop one of the patches, which was included in 4.9.4.

We need to get rid of 3 flags that are set globally for compiling such
an old version of GCC (it doesn't know two of them, and
-Werror=format-security cannot be used with GCC).

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7423>
2025-11-26 18:22:31 +00:00
Bart Ribbers 6ddc546289 systemd/systemd-services: remove upstreamed KDE -systemd subpackages
These are all in Alpine now!

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7419>
2025-11-24 22:13:21 +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
Stefan Hansson 7b7c3a3636 main/postmarketos-ui-plasma-desktop: disable on ppc64le
Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7412>
2025-11-24 14:03:05 +01:00
Stefan Hansson ff5add0aaa main/postmarketos-ui-plasma-mobile: clean up pkgdesc
The pmb:drm property already communicates this information and hides the
UI on devices where it won't run.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7412>
2025-11-23 21:26:49 +00:00
Stefan Hansson 5ace0ecab7 main/postmarketos-ui-plasma-mobile: move install to global scope
See https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/4032

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7412>
2025-11-23 21:26:49 +00:00
Stefan Hansson 31b9f2fd87 main/postmarketos-ui-plasma-desktop: Don't advertise X11 support
While Plasma Desktop upstream supports this, the version packaged in
Alpine does not.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7412>
2025-11-23 21:26:46 +00:00
Stefan Hansson 1e2cfb4e1a main/postmarketos-ui-plasma-desktop: move install to global scope
See https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/4032

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7412>
2025-11-23 21:26:46 +00:00
Stefan Hansson 433454329b main/postmarketos-base-ui-plasma: move install to global scope
See https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/4032

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7412>
2025-11-23 21:26:42 +00:00
Stefan Hansson cea9dd076d main/dint: upgrade to 0.0.4
Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7407>
2025-11-21 20:13:50 +01: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
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
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 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
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
Sebastian Fleer 19e6e1e5ad postmarketos-ui-plasma-mobile: switch to plasma-keyboard
plasma-mobile already did that change:
https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/92862

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7341>
2025-11-13 20:11:56 +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
Aster Boese 499b98276c main/devicepkg-dev: /etc/modprobe.d,modules-load.d -> /usr/lib
Relates #2184

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7304>
2025-11-10 13:57:33 +00:00
Stefan Hansson f38e43e3b3 main/dint: upgrade to 0.0.2
Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7326>
2025-11-10 13:35:53 +00:00
Willow Barraco 7ef1962a69 postmarketos-ui-sxmo-de-{river,i3}: new pmaport
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7310
2025-11-09 21:42:58 -08:00
Willow Barraco c5ab9e3ef4 postmarketos-ui-sxmo-*: upgrade to 1.18.0
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7310
2025-11-09 21:42:58 -08:00
Nikita Travkin dcd6eef2d4 main/dtbloader: upgrade to 1.5.2
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7315>
2025-11-08 18:07:37 +05:00
Aster Boese 3db8696b57 main/postmarketos-ui-cosmic: enable tuned-ppd service for OpenRC
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7190>
2025-10-30 13:10:39 -04:00
Devin Lin 7abeaca6ac main/postmarketos-ui-plasma-mobile: Use feedbackd instead of hfd-service
Starting from Plasma 6.5, Plasma Mobile uses feedbackd instead of
hfd-service as its haptics backend.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7268>
2025-10-29 17:28:18 -04:00
Clayton Craft 923c4ab36e main/postmarketos-ui-os-installer: add custom install/deploy mode
This adds support for having a custom install/deploy, where if
`/etc/os-installer/deploy.sh` exists then pmbootstrap generates an
image, exports it, then calls deploy.sh with the path to the image it
created, and does NOT call pmbootstrap install with --disk. deploy.sh
comes from device packages that need to implement custom image
deployment stuff, when using --disk is not appropriate.

If deploy.sh doesn't exist then the standard install (using --disk) will
take place.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7112>
2025-10-28 09:38:53 +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
Pablo Correa Gómez ae140cb6b8 main/postmarketos-base: install fwupd-efi if fwupd and systemd-boot available
So that firmware can be upgraded via fwupd EFI built-in methods

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7244>
2025-10-24 20:41:52 +00:00
Pablo Correa Gómez 2115a3ed2b main/postmarketos-config-nftables: remove unecessary function names
for subpackages. abuild picks them up automatically. They are only
needed when using "-" within the subpackage suffix, as that is not a
valid character in shell scripts function names

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6221>
2025-10-23 21:53:04 -07:00
Pablo Correa Gómez 9150a760c2 main/postmarketos-config-nftables: add rule for ausweisapp2
In the process, bump the pkgver to 1 similarly to what we do with
device packages where version numbers don't have a meaning. We
specifically don't create a subpackage, since the app is in flathub,
which is officially supported by the provider, and is a common way for
most non-technical users to ust it, since it's offically endorsed.

Unconditionally opening this really high port should also not increase
the attack area in any remarkable way.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6221>
2025-10-23 21:53:04 -07:00
Sicelo A. Mhlongo d60f557c4a zram-swap: support custom compression algorithm via deviceinfo
Some devices would benefit from using compression algorithms besides zstd.
Allow device maintainers to specify a more suitable algorithm using
`zram_swap_algo` deviceinfo variable.

Signed-off-By: Sicelo A. Mhlongo <absicsz@gmail.com>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7239>
2025-10-23 09:53:06 +02:00
Clayton Craft 34c32fe958 main/postmarketos-ui-os-installer: add support for os-installer 0.5.x
There were a number of config changes in 0.5.x (vs 0.4.x), this updates
our config to use the latest options/format.

Note: language selection is enabled by default, so no need to list
languages.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7206>
2025-10-17 16:29:24 +00:00
Clayton Craft ba2199528e main/postmarketos-ui-plasma-mobile: drop systemd unit file
This should come from the package providing the daemon run by the unit
file (and in our case, at least temporarily, from the vendored unit file
in systemd-services)

This also adds an install script for post-upgrade that makes sure that
the alias for display-manager.service is created for plasma-mobile on
existing installs where we were missing the alias definition in the
tinydm unit file.
Without this workaround, existing installs will miss the alias and we
won't be able to run things that are associated with this alias (like
stopping pbsplash.)
Note: this is a post-install script since this subpkg is new, and on
existing systems affected by the issue it resolves the subpkg would be
'installed' not 'upgraded'.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7202>
2025-10-16 13:00:04 -07:00
Clayton Craft a8707f9565 main/postmarketos-bootsplash: kill pbsplash with full privileges
This fixes an issue where pbsplash was not killed when the override is
attached to a service that runs as a non-root user (e.g.
tinydm.service). The tiny `+` tells systemd to run this command with
full privileges, the other stuff in the service's ExecStart and so on
are unaffected by this change.

This also adds the kill pbsplash override to getty@.service, fixes #4018

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7202>
2025-10-16 12:57:05 -07:00
Clayton Craft 26892b9475 main/postmarketos-initramfs: drop overlayfs modules
overlayfs support has been included in the initrmafs since the beginning of pmOS: https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/commit/ed9fc7f

But I have no clue why, because nothing seems to use it in the initramfs, at least not within recent history. By removing it, we save ~300KB, which might help small boot partition devices a bit.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7201>
2025-10-16 05:14:58 +00:00
Clayton Craft e74d238f88 main/postmarketos-ui-plasma-mobile: disable ppc64le
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7204>
2025-10-15 13:38:15 -07:00
Aster Boese 9bcf50d248 main/postmarketos-base: install openrc-user-pam in openrc subpackage
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7197>
2025-10-15 03:40:18 +00:00
Jens Reidel c7ad397297 main/postmarketos-qemu-common: Support loongarch64
[ci:skip-vercheck]

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7116>
2025-10-12 16:36:48 +00:00
Stefan Hansson b28e97b3e0 main/dint: upgrade to 0.0.1
[ci:skip-vercheck]: Due to me misunderstanding how apk deals with the
_git suffix, this is a downgrade. But I don't think it matters much
given that we expect users to use `apk upgrade -a` generally and since
dint mostly is used in CI.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7183>
2025-10-12 16:30:25 +00:00