summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-03-01 17:27:08 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-01 20:12:26 +0100
commit531197f7d52651c6387ca2eb78434bcb6c1891c6 (patch)
tree90269b040737d7f95a20d0784a182618cbc386b0
parent9bdd3fd794172e2291e471dbfecbc7a52ffefde6 (diff)
downloadjenkins.debian.net-531197f7d52651c6387ca2eb78434bcb6c1891c6.tar.xz
reproducible: html_dd-list: pass --directory to the schroot invocation
-rwxr-xr-xbin/reproducible_html_dd_list.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_html_dd_list.sh b/bin/reproducible_html_dd_list.sh
index 7dd50c61..9b990e66 100755
--- a/bin/reproducible_html_dd_list.sh
+++ b/bin/reproducible_html_dd_list.sh
@@ -20,7 +20,7 @@ echo "$(date) - starting to write $PAGE page."
write_page_header $VIEW "Overview of ${SPOKENTARGET[$VIEW]}"
TMPFILE=$(mktemp)
SOURCES=$(mktemp)
-schroot -c source:jenkins-reproducible-sid cat /var/lib/apt/lists/*_source_Sources > $SOURCES || \
+schroot --directory / -c source:jenkins-reproducible-sid cat /var/lib/apt/lists/*_source_Sources > $SOURCES || \
wget ${MIRROR}/dists/sid/main/source/Sources.xz -O - | xzcat > $SOURCES
BAD=$(sqlite3 -init $INIT $PACKAGES_DB 'SELECT s.name FROM results AS r JOIN sources AS s ON r.package_id=s.id WHERE r.status="unreproducible" AND s.suite="sid" ORDER BY r.build_date DESC' | xargs echo)
echo "${BAD}" | dd-list --stdin --sources $SOURCES > $TMPFILE || true