khadas / fenix

One-stop script set to build Ubuntu/Debian images
GNU General Public License v2.0
208 stars 135 forks source link

Handle dns for symlinked resolv.conf files #274

Closed viraniac closed 2 months ago

viraniac commented 2 months ago

On Ubuntu Lunar onwards, /etc/resolv.conf is a symlink to corresponding file in /run. As contents in /run doesn't persists at this point, the chroot-scripts fail to perform dns queries. This PR fixes the same.