From a1060024ac25b913b21333fd3bc2ccd77704e0f0 Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Sat, 8 Aug 2026 16:43:26 +0200 Subject: [PATCH] build.sh: add kpartx + util-linux losetup to the job container Co-Authored-By: Claude Fable 5 --- build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 9ba20ba..6bb761b 100755 --- a/build.sh +++ b/build.sh @@ -23,7 +23,9 @@ cd "$(dirname "$0")" if [ "$(id -u)" = 0 ]; then # pmbootstrap pinned from git: Alpine's package is older and e.g. still # reads channels.cfg from origin/master (upstream pmaports moved to main). - apk add -q git sudo openssl python3 py3-pip + # multipath-tools: kpartx; util-linux: losetup with --json support + # (pmbootstrap's host-tool checks + image mounting need both) + apk add -q git sudo openssl python3 py3-pip multipath-tools util-linux pip install -q --break-system-packages \ git+https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git@3.11.1 id build >/dev/null 2>&1 || adduser -D build