diff options
author | Mattia Rizzolo <mattia@debian.org> | 2017-06-16 14:48:35 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-06-18 19:30:44 +0200 |
commit | 22b48c202a1c71b190b40a55ca8edeebb63fefa7 (patch) | |
tree | 7247bbfd5fcd280838c4fd09c597951c77484446 /bin/reproducible_build.sh | |
parent | 412f53318d04abf448ea558f751715c54716e3f4 (diff) | |
download | jenkins.debian.net-22b48c202a1c71b190b40a55ca8edeebb63fefa7.tar.xz |
reproducible debian: introduce buster
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin/reproducible_build.sh')
-rwxr-xr-x | bin/reproducible_build.sh | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 5185a12a..2746c066 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -133,7 +133,7 @@ update_db_and_html() { local OLD_STATUS=$(query_db "SELECT status FROM results WHERE package_id='${SRCPKGID}'" || \ query_db "SELECT status FROM results WHERE package_id='${SRCPKGID}'") # irc+mail notifications for changing status in unstable and experimental - if [ "$SUITE" != "stretch" ] ; then + if [ "$SUITE" = "unstable" ] || [ "$SUITE" = "experimental" ] ; then if [ "${OLD_STATUS}" = "reproducible" ] && [ "$STATUS" != "depwait" ] && \ ( [ "$STATUS" = "unreproducible" ] || [ "$STATUS" = "FTBFS" ] ) ; then MESSAGE="${DEBIAN_URL}/${SUITE}/${ARCH}/${SRCPACKAGE} : reproducible ➤ ${STATUS}" @@ -626,8 +626,8 @@ export LANG="C" unset LC_ALL export LANGUAGE="en_US:en" EOF - # build path is not yet varied on stretch - if [ "${SUITE}" != "stretch" ]; then + # build path is only varied on unstable and experimental + if [ "${SUITE}" = "unstable" ] || [ "$SUITE" = "experimental" ]; then echo "BUILDDIR=/build/1st" >> "$TMPCFG" else echo "BUILDDIR=/build" >> "$TMPCFG" @@ -689,8 +689,8 @@ export LC_ALL="$locale.UTF-8" export LANGUAGE="$locale:$language" umask 0002 EOF - # build path is not yet varied on stretch - if [ "${SUITE}" != "stretch" ]; then + # build path is only varied on unstable and experimental + if [ "${SUITE}" = "unstable" ] || [ "$SUITE" = "experimental" ]; then local src_dir_name="$(perl -mDpkg::Source::Package -e '$_ = Dpkg::Source::Package->new(filename => $ARGV[0])->get_basename; s/_/-/g; print' -- "${SRCPACKAGE}_${EVERSION}.dsc")" echo "BUILDDIR=/build/$src_dir_name" >> "$TMPCFG" echo "BUILDSUBDIR=2nd" >> "$TMPCFG" |