fix live-build resolv.conf

This commit is contained in:
Aiden McClelland
2025-09-24 19:20:27 -06:00
parent 6f1900f3bb
commit ad5d3ad01d
5 changed files with 13 additions and 8 deletions

View File

@@ -231,6 +231,8 @@ lb chroot
lb installer
lb binary_chroot
lb chroot_prep install all mode-apt-install-binary mode-archives-chroot
echo "nameserver 127.0.0.1" > chroot/chroot/etc/resolv.conf
echo "nameserver 1.1.1.1" >> chroot/chroot/etc/resolv.conf # Cloudflare DNS Fallback
lb binary_rootfs
cp $prep_results_dir/binary/live/filesystem.squashfs $RESULTS_DIR/$IMAGE_BASENAME.squashfs