From c11dca46ced3086a7cdb07272ae60868aec95186 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 17 Jan 2018 10:29:24 +0100 Subject: bin/build-packages: trigger update of upstream i686 package mirror if necessary --- bin/build-packages | 5 +++++ conf/default.conf | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/bin/build-packages b/bin/build-packages index 0648db3..d827cdb 100755 --- a/bin/build-packages +++ b/bin/build-packages @@ -239,6 +239,11 @@ while [ "${count}" -ne 0 ]; do find_pkgbuilds "${package}" "${repository}" "${git_repo}" "${git_revision}" "${mod_git_revision}" + # trigger update of mirror (if configured) + if [ -n "${mirror_update_command}" ]; then + ${mirror_update_command} + fi + bail_out() { err=$? if [ -n "$1" ]; then diff --git a/conf/default.conf b/conf/default.conf index a73c3db..1d15660 100755 --- a/conf/default.conf +++ b/conf/default.conf @@ -100,6 +100,10 @@ staging_package_repositories=$( irc_dir='/home/slave/irc/irc.freenode.net' irc_password='top_secret' +# commands to run to update the i686 package mirror used for installing i686 packages, +# e.g. the one from /etc/pacman.d/mirrorlist32 +mirror_update_command='' + # possibly pull in custom modifications # shellcheck source=/dev/null -- cgit v1.2.3-70-g09d2