summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkpcyrd <git@rxv.cc>2017-11-05 18:36:49 +0100
committerMattia Rizzolo <mattia@debian.org>2017-11-05 18:38:19 +0100
commit3ed73c52bb8f632caf3d028dd5658c356238bfa5 (patch)
tree9083eabb3e365680cc4cde447fa1c2343cfedb39
parent62b1e439ec921921249a26e8901cdd4d90030917 (diff)
downloadjenkins.debian.net-3ed73c52bb8f632caf3d028dd5658c356238bfa5.tar.xz
reproducible-archlinux: explicitly sync packages
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
-rwxr-xr-xbin/reproducible_build_archlinux_pkg.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/reproducible_build_archlinux_pkg.sh b/bin/reproducible_build_archlinux_pkg.sh
index c8cf5259..eb58a714 100755
--- a/bin/reproducible_build_archlinux_pkg.sh
+++ b/bin/reproducible_build_archlinux_pkg.sh
@@ -56,6 +56,7 @@ update_archlinux_repositories() {
for REPO in $ARCHLINUX_REPOS ; do
if [ ! -f ${ARCHLINUX_PKGS}_$REPO ] || [ $DUMMY -nt ${ARCHLINUX_PKGS}_$REPO ] ; then
echo "$(date -u ) - updating list of available packages in repository '$REPO'."
+ schroot --run-session -c $SESSION --directory /var/tmp -- pacman -Syu --noconfirm
schroot --run-session -c $SESSION --directory /var/tmp -- pacman -Slq "$REPO" | xargs echo > ${ARCHLINUX_PKGS}_$REPO
echo "$(date -u ) - these packages in repository '$REPO' are known to us:"
cat ${ARCHLINUX_PKGS}_$REPO