fix live-build resolv.conf (#3035)

* fix live-build resolv.conf

* improved debuggability
This commit is contained in:
Aiden McClelland
2025-09-24 22:44:25 -06:00
committed by GitHub
parent 6f1900f3bb
commit 5aa9c045e1
18 changed files with 69 additions and 31 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