X-Git-Url: https://piware.de/gitweb/?a=blobdiff_plain;f=update-chroots;h=d006845abb17ce93fc4b106cd75512798801585f;hb=8a8917639d22602015b622f0469fae1343012afb;hp=c126d1ddd3b837931fae6d7aa7c9dd2cea9fd51d;hpb=bd472bcf714b11da1190c356ded9d76c25023a7f;p=bin.git diff --git a/update-chroots b/update-chroots index c126d1d..d006845 100755 --- a/update-chroots +++ b/update-chroots @@ -1,3 +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 clean'