mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-08 17:31:38 +00:00
Include empty resolv.conf only in buildd lxd tarballs.
This commit is contained in:
parent
31a3a42567
commit
3bf032853b
@ -27,6 +27,10 @@ cleanup_linux_virtual() {
|
|||||||
}
|
}
|
||||||
trap cleanup_linux_virtual EXIT
|
trap cleanup_linux_virtual EXIT
|
||||||
|
|
||||||
|
# The base buildd chroot includes an empty resolv.conf
|
||||||
|
# We don't want to include that in the bootable images
|
||||||
|
rm $mount_d/etc/resolv.conf
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
env DEBIAN_FRONTEND=noninteractive chroot "$mount_d" apt-get \
|
env DEBIAN_FRONTEND=noninteractive chroot "$mount_d" apt-get \
|
||||||
update --assume-yes
|
update --assume-yes
|
||||||
|
0
live-build/buildd/includes.chroot/etc/resolv.conf
Normal file
0
live-build/buildd/includes.chroot/etc/resolv.conf
Normal file
Loading…
x
Reference in New Issue
Block a user