remove /etc/resolv.conf

This commit is contained in:
LaMont Jones 2005-02-27 01:41:21 +00:00
parent e79f7f5dd0
commit bc8b1465dd
2 changed files with 7 additions and 0 deletions

6
debian/changelog vendored
View File

@ -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
* Add ubuntu-live

View File

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