From 3ed73c52bb8f632caf3d028dd5658c356238bfa5 Mon Sep 17 00:00:00 2001 From: kpcyrd Date: Sun, 5 Nov 2017 18:36:49 +0100 Subject: reproducible-archlinux: explicitly sync packages Signed-off-by: Mattia Rizzolo --- bin/reproducible_build_archlinux_pkg.sh | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3-70-g09d2