No description
Find a file
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
.ci ci: update ci-common template 2026-02-04 18:46:15 +01:00
.githooks githooks/pre-commit: remove file size check 2025-12-22 23:53:09 +00:00
.gitlab/issue_templates gitlab/issue_template: remove v25.06 (EOL) 2026-01-27 17:00:25 +01:00
.well-known well-known/funding-manifest-urls: new file (MR 6074) 2025-01-20 18:59:41 +01:00
cross cross/systemd-boot-x86: upgrade to 259.1 2026-02-09 15:48:37 +00:00
device linux-next: upgrade to next-20260211 2026-02-11 16:41:16 +00:00
docs docs: raise exception if dint reports an error 2026-02-11 01:01:45 +00:00
extra-repos/systemd systemd/systemd: re-enable BTF support 2026-02-10 14:10:08 -08:00
main main/postmarketos-initramfs: use loop device for subpartitions 2026-02-11 19:22:40 +00:00
modem modem/pd-mapper: remove 2026-01-13 10:41:44 +00:00
temp temp/libcamera: upgrade to 0.7.0 2026-01-29 13:47:42 +01:00
.clang-format Add .clang-format file (!465) 2019-06-26 22:36:15 +02:00
.ecrc CI: .ecrc: Exclude temp from check (MR 4858) 2024-02-27 08:24:53 -08:00
.editorconfig editorconfig: use spaces instead of tabs for markdown 2025-11-05 11:21:30 +00:00
.gitignore docs: add auto-generated deviceinfo reference 2025-11-23 20:26:30 +00:00
.gitlab-ci.yml CI: build docs on changes to build-docs.sh script 2026-02-10 10:16:54 +01:00
.mailmap */*: update my name and email 2026-01-11 18:52:28 +01:00
channels.cfg channels.cfg: mark v25.06 as EOL 2026-01-27 16:59:34 +01:00
COMMITSTYLE.md editorconfig: use spaces instead of tabs for markdown 2025-11-05 11:21:30 +00:00
deviceinfo_schema.toml deviceinfo: mark generate_systemd_boot as obsolete 2026-02-09 14:25:54 -08:00
kconfig-generic.toml kconfig-generic: add graphics and input categories 2026-02-10 23:01:18 +05:30
kconfigcheck.toml kconfigcheck: Only require zstd module (de)compression on 6.2 or newer 2026-02-07 17:43:35 +01:00
LICENSE Add GPLv3 again 2018-08-23 21:44:22 +02:00
pmaports.cfg pmaports.cfg: Bump pmbootstrap minimum version to 3.9.0 2026-01-24 10:30:46 +01:00
README.md docs: add review and merging guidelines specific to pmaports 2025-09-25 19:55:33 +00:00

postmarketOS aports repository

This repository contains the APKBUILD files for postmarketOS-specific packages, along with the required patches and scripts, if any.

There are many more packages defined in the Alpine Linux aports on which these packages depend.

Helpful resources:

Git Hooks

You can find some useful git hooks in the .githooks directory. To use them, run the following command after cloning this repository:

git config --local core.hooksPath .githooks