summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-11 14:18:30 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-11 14:18:30 +0100
commit34d20b8c8bf1e3018db7aa8d5fb3858d954d3239 (patch)
treea5c6f7a1e0f1bed225dbdfa4ef67cd8685001d21 /bin
parentb157e4e08b541e31973b818973b34d0d62d09895 (diff)
downloadjenkins.debian.net-34d20b8c8bf1e3018db7aa8d5fb3858d954d3239.tar.xz
reproducible archlinux: fixup refactoring error
Diffstat (limited to 'bin')
-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 eb0d8ad1..7c0885d4 100755
--- a/bin/reproducible_build_archlinux_pkg.sh
+++ b/bin/reproducible_build_archlinux_pkg.sh
@@ -43,11 +43,11 @@ choose_package() {
echo "$(date -u ) - about to choose a package to be build"
# every 2 days we check for new archlinux packages
touch -d "$(date -d '2 days ago' '+%Y-%m-%d') 00:00 UTC" $DUMMY
+ local SESSION="archlinux-scheduler-$RANDOM"
schroot --begin-session --session-name=$SESSION -c jenkins-reproducible-archlinux
for REPOSITORY in core extra ; do
if [ ! -f ${ARCHLINUX_PKGS}_$REPOSITORY ] || [ $DUMMY -nt ${ARCHLINUX_PKGS}_$REPOSITORY ] ; then
echo "$(date -u ) - updating list of available packages in repository '$REPOSITORY'."
- local SESSION="archlinux-scheduler-$RANDOM"
schroot --run-session -c $SESSION --directory /var/abs/$REPOSITORY -- ls -1|sort -R|xargs echo > ${ARCHLINUX_PKGS}_$REPOSITORY
echo "$(date -u ) - these packages in repository '$REPOSITORY' are known to us:"
cat ${ARCHLINUX_PKGS}_$REPOSITORY