summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-03-12 18:58:22 +0100
committerHolger Levsen <holger@layer-acht.org>2015-03-12 18:58:22 +0100
commit7adfeae03d1019be55ee0b080bd11dad86d8ce73 (patch)
tree746c76805b3354f77840406ef87e721b5dfe2134
parent2df029d644553f3785aac7ae383643da008e5ef7 (diff)
downloadjenkins.debian.net-7adfeae03d1019be55ee0b080bd11dad86d8ce73.tar.xz
reproducible: use suite specific paths to store meta pkg sets
-rwxr-xr-xbin/reproducible_create_meta_pkg_sets.sh9
-rwxr-xr-xbin/reproducible_html_graphs.sh4
2 files changed, 6 insertions, 7 deletions
diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh
index 5cc66e8b..7052db31 100755
--- a/bin/reproducible_create_meta_pkg_sets.sh
+++ b/bin/reproducible_create_meta_pkg_sets.sh
@@ -10,14 +10,13 @@ common_init "$@"
# common code defining db access
. /srv/jenkins/bin/reproducible_common.sh
-TPATH=/srv/reproducible-results/meta_pkgsets
-CHPATH=/srv/reproducible-results/chdist
-mkdir -p $TPATH $CHPATH
-
ARCH=amd64
SUITE=sid
-DISTNAME="$SUITE-$ARCH"
+DISTNAME="$SUITE-$ARCH"
+TPATH=/srv/reproducible-results/meta_pkgsets-$SUITE
+CHPATH=/srv/reproducible-results/chdist-$SUITE
+mkdir -p $TPATH $CHPATH
# delete possibly existing dist
cd $CHPATH
diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh
index 697d9ded..05116ea6 100755
--- a/bin/reproducible_html_graphs.sh
+++ b/bin/reproducible_html_graphs.sh
@@ -171,8 +171,8 @@ gather_suite_stats() {
# gather meta pkg stats
#
gather_meta_stats() {
- if [ -f /srv/reproducible-results/meta_pkgsets/${META_PKGSET[$1]}.pkgset ] ; then
- META_LIST=$(cat /srv/reproducible-results/meta_pkgsets/${META_PKGSET[$1]}.pkgset)
+ if [ -f /srv/reproducible-results/meta_pkgsets-$SUITE/${META_PKGSET[$1]}.pkgset ] ; then
+ META_LIST=$(cat /srv/reproducible-results/meta_pkgsets-$SUITE/${META_PKGSET[$1]}.pkgset)
if [ ! -z "$META_LIST" ] ; then
META_WHERE=""
for PKG in $META_LIST ; do