From ee696ffe65fd81c5575cb2f07c2e3d4460c99598 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 11 Dec 2015 15:14:20 +0100 Subject: reproducible archlinux: update build schroot via maintenance job --- bin/reproducible_maintenance.sh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'bin/reproducible_maintenance.sh') diff --git a/bin/reproducible_maintenance.sh b/bin/reproducible_maintenance.sh index 755987d7..a2525c9d 100755 --- a/bin/reproducible_maintenance.sh +++ b/bin/reproducible_maintenance.sh @@ -41,6 +41,7 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then cp -v $PACKAGES_DB $BASE/ fi +# for Debian echo "$(date -u) - updating the schroots and pbuilder now..." set +e # use host architecture (only) @@ -101,6 +102,13 @@ for s in $SUITES ; do done set -e +# for Archlinux +if [ "$HOSTNAME" = "$ARCHLINUX_BUILD_NODE" ] ; then + echo "$(date -u) - updating Archlinux schroot now." + schroot --directory /tmp -c source:jenkins-reproducible-archlinux -u root -- pacman -Syu --noconfirm + echo "$(date -u) - updating Archlinux schroot done." +fi + # delete old temp directories echo "$(date -u) - Deleting temp directories, older than 2 days." OLDSTUFF=$(find $REP_RESULTS -maxdepth 1 -type d -name "tmp.*" -mtime +1 -exec ls -lad {} \; || true) -- cgit v1.2.3-70-g09d2