From 7fc7fb0c59266664b8c700e21859a7fbcc3d5052 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Fri, 12 Jun 2015 21:31:12 +0200 Subject: reproducible: define $TEMPDIR as /tmp/reproducible and teach all the to create temporary files under TEMPDIR (except for builders, they have their own TMPDIR), to avoid polluting /tmp --- bin/reproducible_coreboot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/reproducible_coreboot.sh') diff --git a/bin/reproducible_coreboot.sh b/bin/reproducible_coreboot.sh index 9400a9f9..f1d15a7d 100755 --- a/bin/reproducible_coreboot.sh +++ b/bin/reproducible_coreboot.sh @@ -128,7 +128,7 @@ fi # # create html about toolchains used # -TOOLCHAIN_HTML=$(mktemp) +TOOLCHAIN_HTML=$(mktemp --tmpdir=$TMPDIR) echo "" > $TOOLCHAIN_HTML cd util/crossgcc/tarballs for i in * ; do @@ -198,7 +198,7 @@ DBDVERSION="$(schroot --directory /tmp -c source:jenkins-reproducible-${DBDSUITE echo "=============================================================================" echo "$(date -u) - Running $DBDVERSION on coreboot images." echo "=============================================================================" -ROMS_HTML=$(mktemp) +ROMS_HTML=$(mktemp --tmpdir=$TMPDIR) echo "
cross toolchain sourcesha256sum