From ca9e36c95cc307fc0c8c7fe61d10f1bf14de1deb Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Sat, 8 Aug 2026 16:40:11 +0200 Subject: [PATCH] build.sh: pin pmbootstrap 3.11.1 from git Alpine's packaged pmbootstrap predates pmaports' master->main rename and fails reading channels.cfg. Pinning also matches the version the rest of this script was written against. Co-Authored-By: Claude Fable 5 --- build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 9a09369..9ba20ba 100755 --- a/build.sh +++ b/build.sh @@ -21,7 +21,11 @@ cd "$(dirname "$0")" # The checkout stays root-owned (later workflow steps need its .git); the # build user only gets dist/. if [ "$(id -u)" = 0 ]; then - apk add -q pmbootstrap git sudo + # 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 + 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 echo 'build ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/build rm -rf dist