[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible FreeBSD: remove unused Xs from mktemp invocation

Holger Levsen holger at layer-acht.org
Mon Feb 27 19:21:49 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 1ec389d05cbe846c656ec2065bb3a85574146abc
Author: Ed Maste <emaste at freebsd.org>
Date:   Thu Feb 23 12:09:12 2017 -0500

    reproducible FreeBSD: remove unused Xs from mktemp invocation
    
    FreeBSD's mktemp does not use Xs as placeholders for the random string
    when using the -t <template> arg.  Instead it appends a period and the
    characters.  For example:
    
        % mktemp -d -t prefix
        /tmp/prefix.pffo8Fiv
    
    Signed-off-by: Ed Maste <emaste at freebsd.org>
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_freebsd.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_freebsd.sh b/bin/reproducible_freebsd.sh
index 5aa27d5..994887c 100755
--- a/bin/reproducible_freebsd.sh
+++ b/bin/reproducible_freebsd.sh
@@ -99,7 +99,7 @@ for FREEBSD_TARGET in ${FREEBSD_TARGETS} ;do
 	RSCP="scp -r freebsd-jenkins.debian.net"
 	TMPBUILDDIR=/usr/src
 	$RSSH 'sudo rm -rf /usr/src ; sudo mkdir /usr/src ; sudo chown jenkins /usr/src'  ### this is tmpfs on linux, we should move this to tmpfs on FreeBSD too
-	TMPDIR=$($RSSH 'TMPDIR=/srv/reproducible-results mktemp -d -t rbuild-freebsd-XXXXXXXX')  # used to compare results
+	TMPDIR=$($RSSH 'TMPDIR=/srv/reproducible-results mktemp -d -t rbuild-freebsd')  # used to compare results
 	DATE=$(date -u +'%Y-%m-%d')
 	START=$(date +'%s')
 	trap cleanup_tmpdirs INT TERM EXIT

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