diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-01-21 11:48:05 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-01-21 11:48:05 +0100 |
commit | 27281b2917fef7a62f22abb738eacff21c76acda (patch) | |
tree | 28fc9af4b9c854c350e219110d4b3d86473bfd16 /bin | |
parent | ee081c6930369a8b94ca293d61a37591d873765a (diff) | |
download | jenkins.debian.net-27281b2917fef7a62f22abb738eacff21c76acda.tar.xz |
reproducible: link to same pkg set on the other arch
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_html_pkg_sets.sh | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/bin/reproducible_html_pkg_sets.sh b/bin/reproducible_html_pkg_sets.sh index ec79f733..9bf63077 100755 --- a/bin/reproducible_html_pkg_sets.sh +++ b/bin/reproducible_html_pkg_sets.sh @@ -142,7 +142,17 @@ create_pkg_sets_pages() { fi LABEL="package set '${META_PKGSET[$j]}' in $SUITE/$ARCH" write_page "<p><a href=\"/userContent/$SUITE/$ARCH/$PNG\"><img src=\"/userContent/$SUITE/$ARCH/$PNG\" class=\"overview\" alt=\"$LABEL\"></a>" - write_page "<br />The package set '${META_PKGSET[$i]}' in $SUITE/$ARCH consists of: <br /> <br />" + write_page "<br />The package set '${META_PKGSET[$i]}' in $SUITE/$ARCH consists of:" + if [ "$ARCH" = "amd64" ] ; then + local LINKED_ARCH=armhf + else + local LINKED_ARCH=amd64 + fi + # no pkg sets for armhf on testing yet: + if [ "$SUITE" != "testing" ] ; then + write_page " (this set on <a href=\"/$SUITE/$LINKED_ARCH/pkg_set_${META_PKGSET[$i]}.html\">$LINKED_ARCH</a>)" + fi + write_page "<br /> <br />" set_icon unreproducible write_icon write_page "$COUNT_META_BAD ($PERCENT_META_BAD%) packages failed to build reproducibly:" |