X-Git-Url: https://piware.de/gitweb/?a=blobdiff_plain;f=update-chroots;h=fc5ce75cb6d87248438a770fff390c11975a6adb;hb=79ce1657e7f890c8f28fdd3b018fd4d2bd7135d8;hp=ab2a668ef4f39b2d73ebe7fb886547130a1bd53d;hpb=a6c368c548258381fed562e4cd5f8a2441beb1e2;p=bin.git diff --git a/update-chroots b/update-chroots index ab2a668..fc5ce75 100755 --- a/update-chroots +++ b/update-chroots @@ -1,4 +1,7 @@ #!/bin/sh +for f in /home/dchroot/*/etc/resolv.conf; do + cp /etc/resolv.conf $f; +done dchroot -a -- 'apt-get update' dchroot -a -- 'apt-get -u -y dist-upgrade' dchroot -a -- 'apt-get autoclean'