Commit Graph
3080 Commits
Author SHA1 Message Date
Pablo Correa Gómez cd91997729 main/postmarketos-initramfs: don't halt execution if IN_CI
This is already done in the CI hook

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 37980a2ac7 main/postmarketos-test: 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 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 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
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
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
JustinandClayton Craft 5491bc9c04 main/unl0kr: upgrade to 3.5.1
This also adds support for building the unl0kr password agent for
systems running systemd.

Co-authored-by: Clayton Craft <craftyguy@postmarketos.org>
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6463>
2026-03-06 19:51:31 +00:00
Pablo Correa Gómez 07087f8bd5 main/fbkeyboard: drop
This package should instead be in alpine

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7501>
2026-03-03 22:11:34 +01:00
Pablo Correa Gómez f1b572d289 main/postmarketos-ui-fbkeyboard: update maintainer
Robert Bloy already took maintenance of the fbkeyboard utility in
0431133641 and the former maintainer
does not have an account in our gitlab. So transfer maintainership.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7501>
2026-03-03 22:11:33 +01:00
Aelin 8c15baad17 main/postmarketos-ui-plasma-desktop: only depend on plasma-login-manager for systemd
By moving the dependency to the systemd subpackage and depending on sddm
for OpenRC installs, we fix OpenRC installs and unbreak the bootstrap
dependency cycle for the main and systemd repo.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8116>
2026-03-03 19:16:53 +00:00
Bart Ribbers 654c9c242a systemd/plasma-login-manager: new aport
We're using it as a SDDM replacement

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8079>
2026-03-02 14:31:13 +01:00
Luca Weiss d3ed45a6a4 main/lk2nd: upgrade to 22.0
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8073>
2026-02-27 16:39:27 +00:00
Luca Weiss d755b4ddd7 main/deviceinfo-converter: profile.d script fixes
* Fix referencing non-existing variable
* Don't pollute shell variables with deviceinfo by sourcing in a
  subshell and only setting the environment variable.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8076>
2026-02-26 03:00:27 +00:00
Luca Weiss be0fe2076a main/postmarketos-ui-lomiri: various fixes and improvements
* Fix wrong path for lomiri-indicator-location, this has probably
  changed upstream a while ago and was missed.
* Fix font rendering on some Adreno GPUs
* Clean up dependencies
    * Don't force-depend on pipewire* and wireplumber.
    * Remove font-droid-nonlatin since that's already in _pmb_recommends
      of postmarketos-base-ui.
    * Remove networkmanager since that's already a dependency of
      postmarketos-base-ui-networkmanager.
* Add more Lomiri apps as recommended
* Set home button background color, otherwise the white logo is
  invisible on a (default) white background.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8076>
2026-02-26 03:00:27 +00:00
Bart Ribbers 1cf837e15b main/postmarketos-ui-plasma-desktop: disable on x86
We pre-install Firefox but that isn't available anymore on x86 since
67ceb722092486a00de16b6ae72933e179f07fc9 in aports. Since
_pmb_recommends doesn't support things like 'case "$CARCH" in', there is
no way to conditonally disable Firefox on the architecture so we have to
disable the entire UI for it for now.

[ci:skip-vercheck]

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8080>
2026-02-25 20:27:50 +01:00
Achill Gilgenast 854721bdba main/postmarketos-base-ui-gnome: depend on gnome-backgrounds
All GNOME-like UIs should install the backgrounds to get a few default
ones to choose from in g-c-c. ui-gnome previously pulled them in per
`gnome`-pkg, ui-gnome-mobile previously depended on the wallpapers
directly. So only phosh has a actual effect.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8068>
2026-02-25 07:48:59 +00:00
Achill Gilgenast 1181d64aae main/postmarketos-ui-phosh: depend on phosh-wallpapers
These are the upstream-made wallpapers, so allow users to choose from
them aswell.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8068>
2026-02-25 07:48:59 +00:00
Aster Boese 5e3d65b2bd treewide: add !check to options of packages without tests
Signed-off-by: Aster Boese <asterboese@mailbox.org>

[ci:skip-vercheck]

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8055>
2026-02-22 15:39:25 +00:00
Achill Gilgenast 539c681cf3 main/postmarketos-base-downstream: enable msm-modem-downstream openrc service on post-install
Moved from the now removed msm-modem, see HEAD~.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7677>
2026-02-20 15:31:54 +01:00
glats 348a61895f postmarketos-initramfs: load loop module before mount_subpartitions on combined initramfs
On devices using a combined initramfs, init_2nd.sh is exec'd directly
from the first stage without ever calling load_modules(). This means the
loop kernel module (CONFIG_BLK_DEV_LOOP=m) is not guaranteed to be
loaded before mount_subpartitions() runs, causing losetup to fail:

  losetup: /dev/sda13: failed to set up loop device: No such file or directory
  ERROR: failed to mount subpartitions!

On the split initramfs path (init.sh), load_modules is called explicitly
before jumping to init_2nd.sh, so this regression did not affect those
devices.

Fix by explicitly loading the loop module in mount_subpartitions(),
right before the loop that searches for partitions. This location was
suggested by Clayton Craft.

Regression introduced by: 86bdb82116 (use loop device for subpartitions)
Tested on: oneplus-cheeseburger (combined initramfs, msm8998, loop=m)

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8034>
2026-02-19 00:19:39 -03:00
Nikita Travkin 2adf6c7c45 main/dtbloader: upgrade to 1.5.3
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8012>
2026-02-14 18:05:17 +05:00
Stefan Hansson 8316a6260d main/dint: upgrade to 0.1.1
Helps https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/4333

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8005>
2026-02-14 02:09:52 +00:00
Clayton Craft c40652c84b main/postmarketos-initramfs: fix subpartition counting with MBR
bb's fdisk prints the table in a different format when using MBR, this
fixes it to correctly count partitions in both cases.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8008>
2026-02-14 00:55:22 +00:00
Clayton Craft c4832ed456 main/postmarketos-initramfs: fix subpartition mount on split initramfs
I shouldn't have used parted here... it's not available in the 1st stage
initramfs. Busybox's fdisk can also list subpartitions so let's use
that instead.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7998>
2026-02-12 15:04:48 -08:00
Clayton Craft 86bdb82116 main/postmarketos-initramfs: use loop device for subpartitions
This reworks the subpartition init to use loop devices instead of
kpartx/dm mappings. This allows us to use the same logic for resizing
as we do for other partitioning schemes (and refactors that code a bit).
This also helps duranium, because systemd tooling (repart, sysupdate,
gpt-auto-generator) can't properly handle GPT subpartitions exposed via
kpartx dm mappings, but works correctly with loop devices created with
partition scanning enabled.

After this change, subpartitions show up as loop devices, e.g.:

$ ls /dev/loop*
/dev/loop0p1
/dev/loop0p2

There *should* be no impact to existing installs.

This also drops the dependency on multipath-tools, which seems to have
been added years ago as a workaround for installing kpartx (like maybe
multipath-tools used to provide kpartx?), see 7573f5fce4. Anyways, we
don't use anything in this pkg in the initramfs AFAIK.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7932>
2026-02-11 19:22:40 +00:00
Clayton Craft 47b975272a main/postmarketos-mkinitfs: upgrade to 2.9.0
Includes a fix for a regression in 2.8.0

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7986>
2026-02-11 14:55:16 +00:00
Clayton Craft 8341bcd3e3 main/boot-deploy: upgrade to 0.23.0
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7986>
2026-02-11 14:55:16 +00:00
Jakob Hauser 2a6af8101b main/swclock-offset: upgrade to 0.3.0
0.3.0 Changelog:
- Change behavior on missing RTC from "fail" to "skip"

0.2.9 Changelog:
- Restore failure on missing rtc sys node
- Remove quotation marks in shell scripts
- Allow customizing cache path by make
- systemd: break dependency cycle

0.2.8 Changelog:
- Gracefully handle absence of RTC and offset storage file

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7989>
2026-02-11 14:18:44 +00:00
Clayton Craft 4a4130e7a4 Revert "main/postmarketos-mkinitfs: upgrade to 2.8.0"
There's a bug that breaks booting on android devices, needs
investigation. In the meantime, revert this!

This reverts commit 0e7cc643c6.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
[ci:skip-vercheck]

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7985>
2026-02-10 08:47:20 -08:00
Clayton Craft 0e7cc643c6 main/postmarketos-mkinitfs: upgrade to 2.8.0
Fixes !7949

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7980>
2026-02-10 14:30:59 +00:00
Achill Gilgenast b615a7bd13 main/postmarketos-ui-asteroid: remove
Removed in Alpine: https://gitlab.alpinelinux.org/alpine/aports/-/commit/cd6c73d27e6de078fd74bd0c0032ad84a4e0b5d2

> There seems to be no chance they move to Qt6 in the short term and they
> have already been disabled for a while. When it finally updates to Qt6
> this commit can simply be reverted, together with
> e4b455e8

Removing references of asteroid in  this MR, since it's no longer in any
use. Feel free to revert once they migrated to Qt6.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7972>
2026-02-09 16:14:15 +00:00
Stefan Hansson 6b4e097ddc main/dint: upgrade to 0.1.0
Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7958>
2026-02-08 18:13:51 +00:00
Clayton Craft 67ece34776 main/bootmac: upgrade to 0.7.1
This release fixes a race bug when setting wifi MAC addr on boot

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7944>
2026-02-07 23:56:13 +00:00
Stefan Hansson 9727816848 main/dint: upgrade to 0.0.8
Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7924>
2026-02-04 18:10:16 +00:00
Henrik Grimler d38b73fbdd main/postmarketos-initramfs: init_functions: return early in load_modules
If $modules is empty, then `modprobe -a` is run which gives an error
with full modprobe (i.e. not busybox variant):

  [pmOS-rd]: modprobe: ERROR: missing parameters. See -h.

Add a check and return early to avoid potentially printing the error
to users.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7916>
2026-02-04 15:29:25 +00:00
Henrik Grimler 8097acbe40 main/postmarketos-initramfs: mv iskey to base initramfs
It is used in init_functions.sh, and should hence be in base
initramfs.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7916>
2026-02-04 15:29:25 +00:00
Henrik Grimler f45319dc3b main/postmarketos-initramfs: mv some modules to modules-extra
Not all modules are strictly needed in 1st initramfs stage. Move some
of the ones that are not necessary for mounting /boot into
00-default-extra.modules.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7916>
2026-02-04 15:29:21 +00:00
Henrik Grimler b3cb907471 main/devicepkg-dev: add comment about modules-extra-initfs
The package currently handles only modules in modules-initfs, as
modules in modules-extra-initfs are handled automatically through
udev.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7916>
2026-02-04 15:29:18 +00:00
Henrik Grimler 70dbf41ef8 main/devicepkg-dev: use /usr/lib/ in more places
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7916>
2026-02-04 15:29:18 +00:00
Clayton Craft 6d63aa2f1c main/boot-deploy: upgrade to 0.22.1
Changelog:

 Fixes:

 * sd-boot: Install drivers under upper-case path

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7912>
2026-02-03 12:10:00 +00:00
Clayton Craft 84cac35407 main/postmarketos-base-ui: add ModemManager config override
We used to use this param when the MM systemd unit was vendored in
pmaports but it was dropped when we switched to the upstream unit. This
also sets the param in openrc installs.

Fixes #4194

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7840>
2026-02-01 13:17:40 -08:00
Clayton Craft fe0e70f1dc main/boot-deploy: upgrade to 0.22.0
Changelog:

* sd-boot: install EFI app under upper-case path
* check linux.efi explicitly for bls spec
* Remove sd-boot deviceinfo var
* Always skip flashing boot when using EFI

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7872>
2026-01-29 11:17:55 -08:00
Achill Gilgenast 507d2b88e3 main/postmarketos-base-ui-plasma: remove kwayland-integration dependency
Was removed in Alpine because it was using KDE 5 dependencies

Ref: https://gitlab.alpinelinux.org/alpine/aports/-/commit/11fc5f00bc47614493aac209d4ed72cb12e8dea2
Ref: https://gitlab.alpinelinux.org/alpine/aports/-/commit/a175f3dffd17ef0f3a7ba5302ddc23465181c4bb
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7865>
2026-01-28 20:23:52 +01:00