[Libre-soc-dev] Hard-coded Debian mirror in chroot dev script
cestrauss at gmail.com
Sat Apr 8 13:44:56 BST 2023
While porting ls2 to the Nexys Video, I decided to run the dev scripts
from scratch, to make sure the instructions given in
https://libre-soc.org/HDL_workflow/ls2/ work for everybody.
The creation of the chroot goes somewhat slowly for me, since the Debian
mirror is hard-coded to one in the UK
I'd suggest either:
1) select a mirror using an environment variable (e.g. CHROOT_DEBIAN_MIRROR)
2) give the mirror URL to the script as a second (optional) command-line
The default could be either:
1) empty (debootstrap seems to pick a fast mirror, for me, in that case)
2) keep it as of now, with the UK mirror.
More information about the Libre-soc-dev