diff options
author | Andrew McDermott <andrew.mcdermott@linaro.org> | 2015-01-16 08:30:28 +0000 |
---|---|---|
committer | Andrew McDermott <andrew.mcdermott@linaro.org> | 2015-01-16 08:30:28 +0000 |
commit | 67a7b0a077a70bf214df26b34225092897688d9f (patch) | |
tree | e9ecc096efbe9035fcd44b9ef360dccb85c1f625 | |
parent | bb9d42a6a3a2e7d86cfec5da3d11425d661c25f5 (diff) |
Leave /etc/resolv.conf in place
-rwxr-xr-x | chroot-img | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -10,6 +10,7 @@ mount -t proc none /mnt/proc mount -o bind /dev /mnt/dev mount -o bind /dev/pts /mnt/dev/pts [[ -f $helper ]] && . $helper "in" +rm -f /mnt/etc/resolv.conf cp -L /etc/resolv.conf /mnt/etc/resolv.conf cp /etc/apt/sources.list /mnt chroot /mnt /bin/bash $program |