[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible_lede: set TMPDIR=RESULTSDIR to allow call_diffoscope to work

Mattia Rizzolo mattia at debian.org
Sat Nov 11 23:24:09 UTC 2017


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

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

commit 66477df8643ac671c6bc27f52afbe34550758c46
Author: Alexander Couzens <lynxis at fe80.eu>
Date:   Sun Nov 12 00:18:34 2017 +0100

    reproducible_lede: set TMPDIR=RESULTSDIR to allow call_diffoscope to work
    
    Sadly call_diffoscope requires TMPDIR to be defined and used as base for all results.
    When replaced TMPDIR with RESULTSDIR this requirement was overseen.
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 bin/reproducible_lede.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/bin/reproducible_lede.sh b/bin/reproducible_lede.sh
index 4111b06..d1a1ef2 100755
--- a/bin/reproducible_lede.sh
+++ b/bin/reproducible_lede.sh
@@ -105,6 +105,9 @@ SIZE=""
 cd $RESULTSDIR/b1/targets
 tree .
 
+# call_diffoscope requires TMPDIR
+TMPDIR=$RESULTSDIR
+
 # iterate over all images (merge b1 and b2 images into one list)
 # call diffoscope on the images
 for target in * ; do

-- 
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