User:Grimler/pmbootstrap-with-local-mirrors
Appearance
My internet connection is not great. Downloading source archives and apk dependencies for builds is slow and annoying. To make my situation a bit better I am syncing postmarketos's and alpine's repositories over night, and then serving those repositories with nginx on my local network, and changing so that pmbootstrap uses those local repositories mirrors for builds.
When doing pmbootstrap init it is possible to change mirror, but it does not allow setting an arbitrary mirror. Instead one must manually edit ~/.config/pmbootstrap_v3.conf and set the mirrors section to something like:
[mirrors]
pmaports = http://192.168.1.46/postmarketos/
systemd = http://192.168.1.46/postmarketos/extra-repos/systemd/
alpine = http://192.168.1.46/alpine/