ci-scripts/pmb/setup
Vasiliy Doylov 6a3435f2bf
CI: PostmarketOS: use env instead fo hardcoded vars
Signed-off-by: Vasiliy Doylov <nekocwd@mainlining.org>
2025-06-07 14:17:59 +03:00

13 lines
791 B
Bash
Executable file

#!/bin/sh
/setup-runner
apk add python3 losetup cmd:kpartx openssl
git clone https://git.nekocwd.duckdns.org/Mirror/pmbootstrap /data/pmbootstrap || true
git clone https://git.nekocwd.duckdns.org/Mirror/pmaports /data/pmaports || true
git clone https://git.nekocwd.duckdns.org/Mirror/aports /data/aports || true
git -C /data/pmaports remote add postmarketos https://gitlab.postmarketos.org/postmarketOS/pmaports.git || true
git -C /data/pmaports fetch postmarketos --depth=1 -f || true
yes '' | pmbootstrap init
pmbootstrap config mirrors.alpine https://mirror.nekocwd.duckdns.org/alpine/
pmbootstrap config mirrors.pmaports https://mirror.nekocwd.duckdns.org/postmarketos/
pmbootstrap config mirrors.systemd https://mirror.nekocwd.duckdns.org/postmarketos/extra-repos/systemd/
/run-runner