summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkpcyrd <git@rxv.cc>2017-11-05 18:46:12 +0100
committerMattia Rizzolo <mattia@debian.org>2017-11-05 18:47:08 +0100
commit2158a1ae5d8f7a4040dd4df0ee35fb98aca1689f (patch)
treefefe8394fd1134f6546b3aec79beebed925e6871
parent1aa3e4d55809685baf9417f16385b43a83d78088 (diff)
downloadjenkins.debian.net-2158a1ae5d8f7a4040dd4df0ee35fb98aca1689f.tar.xz
reproducible-archlinux: use sudo for pacman
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
-rwxr-xr-xbin/reproducible_build_archlinux_pkg.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_build_archlinux_pkg.sh b/bin/reproducible_build_archlinux_pkg.sh
index eb58a714..b8ff01c7 100755
--- a/bin/reproducible_build_archlinux_pkg.sh
+++ b/bin/reproducible_build_archlinux_pkg.sh
@@ -56,7 +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 -- sudo 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