mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Resolv check was done for host while it should be done for chroot (#4325)
This commit is contained in:
@@ -509,7 +509,7 @@ FAMILY_TWEAKS
|
||||
cp "${SDCARD}"/etc/armbian-release "${SDCARD}"/etc/armbian-image-release
|
||||
|
||||
# DNS fix. package resolvconf is not available everywhere
|
||||
if [ -d /etc/resolvconf/resolv.conf.d ] && [ -n "$NAMESERVER" ]; then
|
||||
if [ -d "${SDCARD}"/etc/resolvconf/resolv.conf.d ] && [ -n "$NAMESERVER" ]; then
|
||||
echo "nameserver $NAMESERVER" > "${SDCARD}"/etc/resolvconf/resolv.conf.d/head
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user