chiark / gitweb /
kibi: release.debian.org: Add git and git-email
[dsa-metapackages.git] / upgrade-porter-chroots
1 #!/bin/sh
2
3 # Do we just want to use dchroot -l ?
4
5 for d in lenny squeeze wheezy sid \
6          lenny_i386 squeeze_i386 wheezy_i386 sid_i386 \
7          lenny_amd64 squeeze_amd64 wheezy_amd64 sid_amd64 \
8          sid_s390x \
9         ; do
10         [ -d /chroot/$d ] || continue;
11         echo; echo $d; echo
12         chroot /chroot/$d apt-get update &&
13         chroot /chroot/$d apt-get dist-upgrade -y &&
14         chroot /chroot/$d apt-get clean &&
15         chroot /chroot/$d apt-get autoremove
16 done