]> piware.de Git - bin.git/blobdiff - update-chroots
makechroot: do not install devscripts, too much noise
[bin.git] / update-chroots
index c126d1ddd3b837931fae6d7aa7c9dd2cea9fd51d..fc5ce75cb6d87248438a770fff390c11975a6adb 100755 (executable)
@@ -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 autoclean'