Commit graph

3258 commits

Author SHA1 Message Date
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: cd6c73d27e

> 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: 11fc5f00bc
Ref: a175f3dffd
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7865>
2026-01-28 20:23:52 +01:00
Stefan Hansson
a5871722a1
main/postmarketos-base-ui-plasma: remove pmb:gpu-accel
The pmb:gpu-accel option is deprecated in favour of pmb:drm. However, it
doesn't do anything when applied to packages that aren't UI packages
(base-ui packages aren't UI packages), so just remove it instead of
replacing it with the proper option.

[ci:skip-vercheck]: Doesn't affect resulting package, only read by
pmbootstrap during `init`.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7847>
2026-01-28 13:21:45 +00:00
Clayton Craft
ae000d30f8
main/devicepkg-utils: remove cmdline_append from example deviceinfo
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7830>
2026-01-27 12:33:05 -08:00
Clayton Craft
5f04b534f7
main/devicepkg-dev: support installing kernel-specific cmdline config
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7830>
2026-01-27 12:33:05 -08:00
Clayton Craft
43109bb7fd
main/dint: upgrade to 0.0.7
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7830>
2026-01-27 12:33:05 -08:00
Achill Gilgenast
7f8facc9d8
main/postmarketos-release-upgrade-notification: new aport
Previously the process was that once a branch is EOL, the
notification-commit was cherry-picked from the branch before.

However that makes less sense, since the package then doesn't go
through the same mass updates as pmaports master does, e.g. it still
referenced gitlab.com & -gtk3, and doesn't allow changes by contributors
other than the one cherry-picking it.

Adapted from c088d806ea25 ("main/postmarketos-upgrade-gtk3: new aport")

See https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/4197.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7769>
2026-01-27 15:20:22 +00:00
Clayton Craft
dbc0b37449
main/boot-deploy: depend on generate-kernel-cmdline
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
[ci:ignore-count]

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7708>
2026-01-23 15:06:19 -08:00
Clayton Craft
51ed081129
main/postmarketos-base: install default kernel cmdline
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7708>
2026-01-23 15:06:19 -08:00
Clayton Craft
9a50e8fb55
main/devicepkg-dev: add support for installing kernel-cmdline.conf
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7708>
2026-01-23 15:06:04 -08:00
Achill Gilgenast
cb468c0b75
main/postmarketos-mvcfg: remove
Deprecated. See
https://gitlab.postmarketos.org/postmarketOS/pmaports/-/issues/3580,
lets remove it.

Removed the last users in the last commits.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7750>
2026-01-23 21:04:56 +00:00
Achill Gilgenast
e96de05e89
main/devicepkg-utils: remove postmarketos-mvcfg makedependency
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7750>
2026-01-23 21:04:56 +00:00
Achill Gilgenast
ede1db894e
main/postmarketos-base: remove postmarketos-mvcfg dependency
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7750>
2026-01-23 21:04:56 +00:00
Stefan Hansson
9cfa6b31d7
main/postmarketos-mkinitfs-hook-netboot: remove maintainer
I contacted Mark who confirmed that he is not likely to return to
contributing to postmarketOS any time soon and is okay with me
removing his maintainer line.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7825>
2026-01-23 17:33:02 +01:00
Stefan Hansson
12dfd7b452
main/dint: upgrade to 0.0.6
Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7821>
2026-01-22 12:38:07 +01:00
Clayton Craft
4f2628f8bb
main/postmarketos-ui-cosmic: update pmos-base-ui pw audio name
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>

[ci:skip-build]: loongarch64 CI runner temporarily broken

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7786>
2026-01-18 12:20:33 +00:00
Clayton Craft
3c2af74036
main/postmarketos-base-ui: set defaults for pmb_select
This should fix cases where pw-pulse was being installed by default by
pmbootstrap despite not being selected.

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7776>
2026-01-17 14:31:39 -08:00
Clayton Craft
8b4f66950c
main/postmarketos-base: switch to pmos-zram
Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7754>
2026-01-17 16:56:28 +00:00
Clayton Craft
49b9e02ddf
main/postmarketos-zram: increase default zram factor/size to 150%
This "size"/factor/percentage represents the total amount of
**uncompressed** data that is allowed to be written to the zram-backed
swap device. It is **not** the amount of RAM to use for zram swap (as I
had previously and erroneously thought.) What this means is that if we
set the percent to 50% on a device with 3GB of RAM then up to 1.5GB of
*uncompressed* data can be written to it, BUT since compression algos
usually do better than a ratio of 1:1... less than 1.5GB of RAM will
actually be occupied by this data when it is compressed.

A 1.5:1 compression ratio seems relatively safe to assume, even if we
use lz4 (which is less "good" at compressing than zstd), so I propose we
set the size to 150%. Some distros (PureOS) set this higher (200%), but
I think we should be somewhat conservative since we want to avoid any
thrashing in case the compression ratio at runtime ends up being less
than 2:1 for some reason.

This does set a limit of 50% for devices with >32GB of RAM, to
reduce overhead with using a larger amount of zram swap. The kernel
documentation for zram suggests there's a 0.1% overhead, so if we let
this amount get large then it could be tens or hundreds of MB of RAM
"wasted." The amount I chose is kinda arbitrary, I think this can be
improved later. At the very least, users can change this amount in the
deviceinfo variable.

Fixes #4250

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7754>
2026-01-17 16:56:28 +00:00
Clayton Craft
7aee3f6f58
main/postmarketos-zram: new aport
This is meant to replace zram-init. It's much simpler, since it only
sets up zram swap and doesn't try to do all the things that zram-init
does. This also lets us add additional logic, such as selecting
different default algorithms based on the runtime CPU arch and
conditionally applying sysctl settings that might be inappropriate when
*not* using zram swap.

To create zramstart, I took the zram-configurator, which reads config
from deviceinfo vars, and extended it to create the zram swap device.

zramstart and zramstop were inspired by what Fedora does. The sysctl
config is from the work done here:
https://source.puri.sm/Librem5/librem5-base/-/merge_requests/381

Signed-off-by: Clayton Craft <craftyguy@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7754>
2026-01-17 16:56:28 +00:00
Stefan Hansson
73ea3570c8
main/devicepkg-dev: don't assume deviceinfo_chassis is set
The deviceinfo_chassis variable is not mandatory in the deviceinfo
schema, so we shouldn't treat it as always being there.

Signed-off-by: Stefan Hansson <newbyte@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7762>
2026-01-17 00:49:33 +00:00
Joshua Murphy
f1ad7eabad
main/postmarketos-usb-moded: add support for openrc
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7673>
2026-01-15 16:52:13 +01:00
Achill Gilgenast
43876a93ea
*/*: fix invalid maintainer comment
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7734>
2026-01-15 11:15:21 +00:00
Achill Gilgenast
65fa27d1fd
*/*: remove maintainership by inactive maintainers
* Set Co-Mainatiner as maintainer, if they exist
* Add me as co-maintainer of QEMU packages to fulfill main requirements
* Add people interested in maintainance to their packages
* device-google-snow now has no maintainer, if someone is interested,
  please add yourself as maintainer, otherwise it has to be dropped

As we all know they are inactive nowadays, the maintainer variables
should reflect the reality who cares/is responsible about a package, and
inactive members are not. And waiting for a inactive maintainer 2 weeks
is just staling the MR.

Thanks for all the work Minecrell & Jenneron, and feel free to add
yourself again if you're back again.

[skip ci]: too many false positives :p

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7748>
2026-01-15 11:05:38 +00:00