Skip to content

arch-nspawn: more generic mirrorlist find/replace

Hey there! This is to replace !54 (closed) (I think I couldn't commit a fix per the last comment since GitLab didn't know it was my branch/fork from GitHub).

This comment cited a problem with the new regex that the latest commit should rectify. I'm still running into this problem so hopefully this change can still happen. Thanks!

Original PR comment explaining the reason for the change:

The host_mirrors value uses a sed pattern that is closely coupled with the mirror URL pattern in-use by most Arch mirrors. For some variants, like Arch Linux ARM, values such as $repo and $arch sit in other parts in the mirror path. This change makes the sed replacement more generic to accomodate for variations in mirrorlist URLs while remaining backward compatible.

Merge request reports

Loading