X-Git-Url: https://piware.de/gitweb/?a=blobdiff_plain;f=update-chroots;h=d006845abb17ce93fc4b106cd75512798801585f;hb=2cb5f8d25e41e881bd5f89b1a31b1f06460f1d6c;hp=c126d1ddd3b837931fae6d7aa7c9dd2cea9fd51d;hpb=61c9a34e0de6253e455646bb99f5a7115cbc65eb;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'