linux-surface / aarch64-arch-mkimg

Scripts to create Arch Linux AArch64 disk images (e.g. for flashing to a USB stick), adapted for the Surface Pro X
MIT License
15 stars 7 forks source link

Feat/mirror update #8

Closed F9Alejandro closed 1 year ago

F9Alejandro commented 1 year ago

Updates were made to have a mirrorlist copied over to the chroot portion of the build and have it pull from 2 different stable repo mirrors instead of the unstable mirrors.archlinuxarm.org

This is still a possible work in progress. I have a mirror running and it was able to pull everything with no issue. Docker container build time took the most to actually get going. (Kept running out of resources due to wslvm)

qzed commented 1 year ago

To me it looks like the mirror issues mostly seem to be a local thing for your particular location. So I'm not too sure about this, since it would now prefer US mirrors over local mirrors everywhere. And local mirrors may perform better due to locality. For example, I'm located in Germany and I haven't seen any severe issues (as in downloads cutting out) so far (and the RWTH Aachen mirror which I assume is picked automatically based on that has also always been reliable for standard Arch).

So my suggestion would be that you add the mirror-list as a local change on your end. Note also that this should be possible without editing any of the scripts. You should be able to just drop it in profilex/<x>/base (or for a full path example profiles/default/base/etc/pacman.d/mirrorlist) and it should be automatically copied over.

F9Alejandro commented 1 year ago

Closing this as the changes made to "ci: build features" branch is working as expected.