diff --git a/build.sh b/build.sh index c40c475..69dc0b3 100755 --- a/build.sh +++ b/build.sh @@ -223,8 +223,9 @@ on_chroot << EOF dpkg-divert --add --local /lib/udev/rules.d/75-persistent-net-generator.rules EOF -install -m 644 files/ipv6.conf "$ROOTFS_DIR/etc/modprobe.d/ipv6.conf" -install -m 644 files/interfaces "$ROOTFS_DIR/etc/network/interfaces" +install -m 644 files/resolv.conf "$ROOTFS_DIR/etc/" +install -m 644 files/interfaces "$ROOTFS_DIR/etc/network/interfaces" +install -m 644 files/ipv6.conf "$ROOTFS_DIR/etc/modprobe.d/ipv6.conf" echo $HOSTNAME > "$ROOTFS_DIR/etc/hostname" chmod 644 "$ROOTFS_DIR/etc/hostname" @@ -319,11 +320,6 @@ on_chroot << EOF apt-get install -y dhcpcd5 EOF -## -# DNS resolver configuration file. -# -install -m 644 files/resolv.conf "$ROOTFS_DIR/etc/" - ## # Save fake hardware clock time for more realistic time after startup. #