summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_maintenance.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/reproducible_maintenance.sh')
-rwxr-xr-xbin/reproducible_maintenance.sh8
1 files changed, 8 insertions, 0 deletions
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)