build.sh: add kpartx + util-linux losetup to the job container
Some checks failed
image / image (push) Failing after 59m28s
Some checks failed
image / image (push) Failing after 59m28s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
ca9e36c95c
commit
a1060024ac
1 changed files with 3 additions and 1 deletions
4
build.sh
4
build.sh
|
|
@ -23,7 +23,9 @@ cd "$(dirname "$0")"
|
||||||
if [ "$(id -u)" = 0 ]; then
|
if [ "$(id -u)" = 0 ]; then
|
||||||
# pmbootstrap pinned from git: Alpine's package is older and e.g. still
|
# pmbootstrap pinned from git: Alpine's package is older and e.g. still
|
||||||
# reads channels.cfg from origin/master (upstream pmaports moved to main).
|
# 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 \
|
pip install -q --break-system-packages \
|
||||||
git+https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git@3.11.1
|
git+https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git@3.11.1
|
||||||
id build >/dev/null 2>&1 || adduser -D build
|
id build >/dev/null 2>&1 || adduser -D build
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue