remove /etc/resolv.conf

ubuntu/precise
LaMont Jones 20 years ago
parent e79f7f5dd0
commit bc8b1465dd

6
debian/changelog vendored

@ -1,3 +1,9 @@
livecd-rootfs (0.14) hoary; urgency=low
* Remove /etc/resolv.conf from the chroot. Closes: #6954
-- LaMont Jones <lamont@ubuntu.com> Sat, 26 Feb 2005 18:39:22 -0700
livecd-rootfs (0.13) hoary; urgency=low livecd-rootfs (0.13) hoary; urgency=low
* Add ubuntu-live * Add ubuntu-live

@ -156,6 +156,7 @@ chroot ${ROOT} apt-get clean
rm -f ${ROOT}var/lib/apt/lists/*_* rm -f ${ROOT}var/lib/apt/lists/*_*
rm -f ${ROOT}var/spool/postfix/maildrop/* rm -f ${ROOT}var/spool/postfix/maildrop/*
chroot $ROOT apt-get update || true # give them fresh lists, but don't fail chroot $ROOT apt-get update || true # give them fresh lists, but don't fail
rm ${ROOT}etc/resolv.conf
mkdir -p livecd.mnt mkdir -p livecd.mnt
MOUNTS="$MOUNTS $(pwd)/livecd.mnt" MOUNTS="$MOUNTS $(pwd)/livecd.mnt"

Loading…
Cancel
Save