diff options
Diffstat (limited to 'bin/reproducible_maintenance.sh')
-rwxr-xr-x | bin/reproducible_maintenance.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh index 9b302b43..c15cb679 100755 --- a/bin/reproducible_maintenance.sh +++ b/bin/reproducible_maintenance.sh @@ -259,3 +259,13 @@ if ! $DIRTY ; then echo "Everything seems to be fine." echo fi + +echo "$(date -u) - updating the schroots now..." +ARCH=$(dpkg --print-architecture) +for s in SUITES ; do + if [ "$ARCH" = "armhf" ] && [ "$s" != "unstable" ] ; then + continue + fi + echo "$(date -u) - updating the $s/$ARCH schroot now." + schroot --directory /root -u root -c source:jenkins-reproducible-$s -- apt-get update +done |