]> piware.de Git - bin.git/blobdiff - update-chroots
postinst-setup: package updates
[bin.git] / update-chroots
index c126d1ddd3b837931fae6d7aa7c9dd2cea9fd51d..d006845abb17ce93fc4b106cd75512798801585f 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 clean'