Skip to content

Fix #722: don't use a HTTPS package mirror by default

postmarketOS Bot requested to merge fix/722-install-fails-on-fedora into master

Created by: ollieparanoid

Using a HTTPS mirror prevents the statically compiled apk from working in Fedora, because the TLS certificates are installed in another location. All packages and package indexes are signed, and apk as well as pmbootstrap check these signatures before accepting any files, so we're fine without using HTTPS here.

How to test

pmbootstrap zap -hc # clear http cache and zap all chroots
rm ~/.config/pmbootstrap.cfg # the HTTPS mirror is in the config
pmbootstrap init # create a new config
pmbootstrap chroot # initialize a new chroot with the HTTP mirror

Merge request reports