Commit graph

2905 commits

Author SHA1 Message Date
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: 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
Jens Reidel
8410d344cc
main/boot-deploy: upgrade to 0.20.3
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7153>
2025-10-11 22:57:14 +02:00
Jens Reidel
12f3380e78
main/postmarketos-base: disable GRUB trigger
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7153>
2025-10-11 22:57:14 +02:00
Aster Boese
9c0b5a9396
main/postmarketos-ui-cosmic: add openrc support
Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7156>
2025-10-09 10:42:39 -04:00
Jens Reidel
a396bbc559
main/dint: upgrade to 0.0.1_git20251003
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7154>
2025-10-08 15:53:53 +02:00
Jane Rachinger
085729e888
main/postmarketos-bootsplash: fix start/stop conditions
This should now match behavior with plymouth. Some annoyances were
previously splash that is started multiple times or which isn't killed
when a rescue/emergency target requires.

Co-authored-by: Clayton Craft <clayton@craftyguy.net>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6926>
2025-10-06 20:30:27 -07:00
Clayton Craft
66fcd0230d
main/postmarketos-initramfs: handle reboot/poweroff
Needed in both init stages since they both can call fail_halt_boot.

fixes #4003

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7128
2025-10-05 21:22:40 -04:00
Clayton Craft
b4b65df84c
main/postmarketos-ui-os-installer: use pmb's shallow clone option
This option was added in pmb 3.6, so the dependency is constrained to
that version and later

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7109>
2025-10-05 02:36:51 +00:00
Jens Reidel
4fafe35201
main/dint: fix and enable for all architectures
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7114>
2025-10-01 23:33:20 +00:00
Jens Reidel
c63615b9a6
main/f0rmz: fix build for ppc64le
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7126>
2025-10-01 23:04:04 +00:00
Jens Reidel
85c4e40ea8
main/unixbench: Upgrade to 6.0.0, fix build errors
Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7123>
2025-10-01 23:34:17 +02:00
Oliver Smith
904e59fbc2
Reapply "main/bootchart2: upgrade to 0.14.9_git20220807"
This reverts commit e48304b386.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7120>
2025-10-01 19:56:10 +02:00
Oliver Smith
e59bbc4d6e
main/make3.81: remove
This package isn't used by anything and fails to build with current GCC
in Alpine. Let's drop it.

Related: https://builds.sr.ht/~postmarketos/job/1579283
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7119>
2025-10-01 17:22:12 +00:00
Oliver Smith
126a700fe6
main/postmarketos-initramfs: add postmarketos-base-nofde to makedepends
Fix bootstrapping a new repository by ensuring postmarketos-base-nofde
gets built by BPO beforehand, which now provides
postmarketos-fde-unlocker (as it should have all along).

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7118>
2025-10-01 16:40:23 +00:00
Oliver Smith
e8fcd51ce2
main/postmarketos-base-nofde: provide postmarketos-fde-unlocker
This package was supposed to be a provider for postmarketos-fde-unlocker
(see description "Dummy unlocker package for systems without FDE") and
provider_priority=1 (whereas unl0kr has 1000)).

Fix this, so it is in theory possible to install pmOS without unl0kr
again if you want to save a little space and don't need FDE. More
importantly this also fixes bootstrapping a new reposiotry, as we can
now let postmarketos-initramfs makedepend on this package to ensure that
there is one provider for postmarketos-fde-unlocker.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7118>
2025-10-01 16:40:23 +00:00
Jens Reidel
58b529eb34 main/gcc{4,6}: disable on ppc64le and loongarch64
Neither ppc64le nor loongarch64 use vendor kernels, so the old GCCs
packages are not required.

They currently don't build either because of a couple of problems when
building with GCC 15. If we really want to, ppc64le can be re-enabled
once those problems are resolved, since it is supported since GCC 4.9.
loongarch64 needs a much newer GCC.

[ci:skip-vercheck]

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7117
[ci:skip-build]: just disabling some arches
2025-10-01 18:36:45 +02:00
Luca Weiss
6890536ff6
main/mtk-mkimage: update url
The URL is dead, so link to an archive.org version of that page instead.

Fixes #3981

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7111>
2025-09-30 20:51:22 +00:00
Stefan Hansson
d3aa885f81
main/postmarketos-mkinitfs: link to project repo
Makes it easy to find relevant information about the program.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7095>
2025-09-29 10:18:18 +02:00
Clayton Craft
2be943f936
main/f0rmz: new aport
This will be used for first boot setup in the initramfs

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7082>
2025-09-26 16:08:24 +00:00
Stefan Hansson
66f4974f7b
main/dint: upgrade to 0.0.1_git20250925
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7084>
2025-09-26 12:41:39 +00:00
Clayton Craft
4d97758b44
main/postmarketos-mkinitfs: upgrade to 2.7.0
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7087>
2025-09-26 12:39:46 +00:00
Clayton Craft
a7aa4f979b
main/postmarketos-install-recommends: upgrade to 0.2
Features:

- Make prompting optional / disabled by default
- Implement shallow initial clone for pmaports
- Support running as root user

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7086>
2025-09-26 07:31:42 +00:00
Clayton Craft
4e6ec748a4
main/postmarketos-ui-cosmic: add cosmic-initial-setup to pmb_recommends
This app/config wizard runs when COSMIC starts for the first time, and
it helpful for guiding folks through configuring the DE.

[ci:skip-vercheck] only changing pmb_recommends

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7067>
2025-09-23 09:56:14 +00:00
Clayton Craft
6485ca2e01
main/postmarketos-ui-os-installer: add support for COSMIC UI
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7054>
2025-09-22 16:04:05 +00:00
Stefan Hansson
2745f5dbcb
main/dint: upgrade to 0.0.1_git20250920
Improves comment linting.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7066>
2025-09-20 18:58:29 +02:00
Clayton Craft
efa6cb6376
main/postmarketos-ui-os-installer: update UI screenshots
This updates the UI pictures/screenshots to use the latest from
https://wiki.postmarketos.org/wiki/Category:Interface

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7055>
2025-09-16 21:31:01 +00:00
Devin Lin
88c9deda2e
postmarketos-base-ui-plasma: Enable sentry support for drkonqi
Always enable Sentry support for drkonqi, so that crash reports are sent
to KDE's bug dashboard.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7050>
2025-09-16 11:15:11 -04:00
Clayton Craft
17abfd5b93
main/boot-deploy: upgrade to 0.20.2
- Fix crash from passing empty --header_version arg to mkbootimg

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7046>
2025-09-14 15:35:33 -07:00
Nikita Travkin
5533125d39
main/dtbloader: upgrade to 1.5.1
While at it, revert the "ar" workaround as the tool is installed
properly once again.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7042>
2025-09-14 15:54:13 +05:00
Devin Lin
048afc96d5
postmarketos-base-ui-plasma: Add drkonqi with systemd
Add drkonqi for system process crash notifications, and allowing the
user to easily submit crash reports to KDE.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7031>
2025-09-13 07:04:52 -04:00
Peter Mack
6050175407
main/mobile-config-firefox: upgrade to 4.6.1
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7032>
2025-09-11 22:41:18 +00:00
Clayton Craft
ce67c46bd4
main/devicepkg-utils: initialize SOURCE_DEVICEINFO_ROOT
Otherwise things that `set -u` (like boot-deploy) fail

[ci:skip-build]: already built successfully in CI

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7028>
2025-09-10 09:18:57 -07:00
Stefan Hansson
d9c3fa80a8
main/devicepkg-utils: allow overriding root directory in source_deviceinfo
This can be used to source the deviceinfo of an arbitrary rootfs, not
just the current one. In particular, this will be used in the
boot-deploy CI.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7026>
2025-09-10 14:43:34 +00:00
Stefan Hansson
0ecf51c505
main/boot-deploy: update link
Link to the new repo location instead of the old one that isn't updated
any more.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7022>
2025-09-10 08:23:47 +00:00
Clayton Craft
21a5b834e6
main/boot-deploy: upgrade to 0.20.1
Fixes a breaking regression in 0.20.0

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7021
[ci:skip-build]: bpo hasn't built an abuild update for all archs, and will take a while to be done
2025-09-08 12:15:47 -07:00
Clayton Craft
2c9a5d2d1c
main/boot-deploy: upgade to 0.20.0
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7014

[ci:skip-build]: already built successfully in CI
2025-09-08 08:09:02 -07:00
Clayton Craft
e63c70b6e8
Rebuild -systemd subpkgs
These packages were previously built by a WIP abuild patch that added
install scripts to each -systemd subpkg for handling preset application
on install and symlink cleanup on uninstall. This functionality has been
replaced by a trigger/commit hook, so we need to rebuild these packages
to drop the install scripts that were previously generated.

[ci:ignore-count]

Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6892
2025-09-08 07:33:53 -07:00