I am trying to build PYNQ on a custom board (Ultrazed EV) using a Ubuntu 18.04 machine.
I downloaded the ubuntu sysroot and pynq source distributions.
Running the following
make PYNQ_SDIST=/home/user/repos/Pynq/sdbuild/pynq-2.5.tar.gz PREBUILT=/home/user/repos/Pynq/sdbuild/bionic.aarch64.2.5.img BOARDS=uz7ev_evcc
results in a premature exit of the script when a github.com cannot be referenced after chroot in the VM.
When I exit the script, change root by hand and update resolv.conf, github.com can be resolved by the git tool.
I tried downloading and decompressing pynq_rootfs_aarch64_v2.5.zip again, but the same results are obtained.
Can you see where /etc/resolv.conf links to on the host? The chroot assumes that it links to /run/resolvconf/resolv.conf so you might need to create a symlink there to the correct place. Depending on network configuration and Linux version this file appears to move.