]> piware.de Git - bin.git/blob - update-chroots
postinst-setup: package updates
[bin.git] / update-chroots
1 #!/bin/sh
2 for f in /home/dchroot/*/etc/resolv.conf; do
3     cp /etc/resolv.conf $f;
4 done
5 dchroot -a -- 'apt-get update'
6 dchroot -a -- 'apt-get -u -y dist-upgrade'
7 dchroot -a -- 'apt-get clean'