[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Arch Linux: make pkg.build_duration the oldest of this build, so we can use it as reference for removing pkg files later

Holger Levsen holger at layer-acht.org
Thu Dec 14 11:16:09 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit c98897016421e360059a41da21e7ae095d828e80
Author: Holger Levsen <holger at layer-acht.org>
Date:   Thu Dec 14 11:16:00 2017 +0000

    reproducible Arch Linux: make pkg.build_duration the oldest of this build, so we can use it as reference for removing pkg files later
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_build_archlinux_pkg.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/bin/reproducible_build_archlinux_pkg.sh b/bin/reproducible_build_archlinux_pkg.sh
index 057d86e..2c2fd51 100755
--- a/bin/reproducible_build_archlinux_pkg.sh
+++ b/bin/reproducible_build_archlinux_pkg.sh
@@ -429,6 +429,8 @@ cd $TMPDIR/b1/$SRCPACKAGE
 cp build1.log $BASE/archlinux/$REPOSITORY/$SRCPACKAGE/
 [ ! -f $TMPDIR/b2/$SRCPACKAGE/build2.log ] || cp $TMPDIR/b2/$SRCPACKAGE/build2.log $BASE/archlinux/$REPOSITORY/$SRCPACKAGE/
 echo $DURATION > $BASE/archlinux/$REPOSITORY/$SRCPACKAGE/pkg.build_duration || true
+# make pkg.build_duration the oldest of this build, so we can use it as reference later
+touch --date="@$START" $BASE/archlinux/$REPOSITORY/$SRCPACKAGE/pkg.build_duration
 if [ -f $TMPDIR/b2/$SRCPACKAGE/build2.version ] ; then
 	cp $TMPDIR/b2/$SRCPACKAGE/build2.version $BASE/archlinux/$REPOSITORY/$SRCPACKAGE/
 	cp $TMPDIR/b2/$SRCPACKAGE/build2.version $BASE/archlinux/$REPOSITORY/$SRCPACKAGE/pkg.version

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list