summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_freebsd.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-11-13Reproducible FreeBSD: start with the correct timeEd Maste1-0/+2
Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2017-11-13Revert "reproducible FreeBSD: disable SSL verification on git clone"Mattia Rizzolo1-2/+1
This reverts commit 4d2bce11a38660212d07f53e431ba08aa4502097.
2017-11-13reproducible FreeBSD: disable SSL verification on git cloneEd Maste1-1/+2
We might be running in the future, beyond GitHub's cert expiry. Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2017-03-03reproducible FreeBSD: copy packages back with a tar pipelineEd Maste1-1/+2
scp -r converts the latest symlink directory into a copy of the target directory, resulting in two copies of each package. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-03-03reproducible FreeBSD: add -print to find after -pruneEd Maste1-1/+1
Without an action at the end find implicitly applies -print to the entire expression, which means the pruned directory itself is also printed. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-02-27reproducible FreeBSD: remove unused Xs from mktemp invocationEd Maste1-1/+1
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@freebsd.org> Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-02-23reproducible FreeBSD: exlcude symlinks when comparing resultsEd Maste1-1/+1
The package repo contains a latest/ symlink to the actual package directory. Prune symlinks so we don't compare the same packages twice. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-02-22reproducible FreeBSD: allow SOURCE_DATE_EPOCH through sudoEd Maste1-2/+2
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-02-22reproducible FreeBSD: set pkg base timestampEd Maste1-2/+2
Packaged base is the work-in-progress distribution method for FreeBSD 12.x, and is not yet completely connected into the FreeBSD release build mechanism. For now explicitly set the pkg metadata timestamp via SOURCE_DATE_EPOCH in the environment, until we have the mechanism to set it via the release build scripts. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2017-02-22reproducible FreeBSD: enable reproducible build switchEd Maste1-4/+4
FreeBSD developers are attached to the build metadata (hostname, user, etc.) stored in the kernel and boot loaders, at least during the development phase. For now forcibly enable the build-time reproducible build knob, in order ot test the reproducibility status. The intent is that this is later driven by some top-level release / development switch. Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-12-23reproducible FreeBSD: use BSD-style date argument for future dateEd Maste1-1/+2
FreeBSD's date command does not understand the --set format. Signed-off-by: Ed Maste <emaste@freebsd.org> Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-12-22reproducible FreeBSD: use correct LANG and cpu count on 2nd package buildEd Maste1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-12-22reproducible FreeBSD: invoke sysctl on the FreeBSD VMEd Maste1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-12-22reproducible freebsd: attempt to build and copy back packaged base packagesEd Maste1-0/+3
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-12-22reproducible freebsd: get # of CPUs via sysctlEd Maste1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-12-10reproducible FreeBSD: Fix tar argument order for tar 1.28Anders Kaseorg1-1/+1
--no-recursion now only applies to the following arguments. See https://bugs.debian.org/829738. Signed-off-by: Anders Kaseorg <andersk@mit.edu> Signed-off-by: Mattia Rizzolo <mattia@debian.org>
2016-11-23reproducible freebsd: 11.0 is their current release nowHolger Levsen1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-11-23Revert "YOLO: deal with quoted-printable continuation lines, change the '=' ↵Holger Levsen1-1/+1
at 1st lineend into a space character" This reverts commit 44018d5e21de5f42612b003b584c3b42b0a8dd2a.
2016-11-23YOLO: deal with quoted-printable continuation lines, change the '=' at 1st ↵Holger Levsen1-1/+1
lineend into a space character Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-09-09reproducible FreeBSD: change from 10.2 to 10.3 LTSDaniel Shahaf1-1/+1
Signed-off-by: Holger Levsen <holger@layer-acht.org>
2016-05-07reproducible builds: notify the correct channel(s)Holger Levsen1-1/+1
2016-04-29reproducible: rename function: s#explaination_table#variation_table#gHolger Levsen1-1/+1
2016-01-28reproducible freebsd: increase diffoscope timeout to 60minHolger Levsen1-1/+1
2016-01-27reproducible freebsd: temporarily only build master branchHolger Levsen1-1/+3
2016-01-07remove FIXME as the whole script needs to be rewritten anywayHolger Levsen1-1/+1
2015-12-26reproducible freebsd: drop spaces to avoid quotes, thanks mapreriHolger Levsen1-1/+1
2015-12-21reproducible: s#ssh#ssh -o 'Batchmode = yes'#gHolger Levsen1-1/+1
2015-12-21use 'date -u' alwaysHolger Levsen1-2/+2
2015-12-16always use mktemp with '-t -XXXX'Holger Levsen1-1/+1
2015-12-10reproducible *.sh fix whitespacesAlexander Couzens1-1/+1
2015-12-10fix typo in commentHolger Levsen1-1/+1
2015-11-28reproducible freebsd: better explain which branches has been builtHolger Levsen1-9/+10
2015-11-27reproducible freebsd: moar debugHolger Levsen1-0/+3
2015-11-25reproducible freebsd: create TMPDIR when neededHolger Levsen1-0/+1
2015-11-21reproducible freebsd: refactor, also provide results if one build failsHolger Levsen1-32/+43
2015-11-20reproducible freebsd: continue the loop if a build fails, dont break out.Holger Levsen1-1/+1
2015-11-15reproducible: run future nodes also 6h and 23min aheadHolger Levsen1-2/+2
2015-11-14reproducible freebsd: refactor, deal better with failuresHolger Levsen1-18/+23
2015-11-14reproducible freebsd: do the 2nd build 398 days in futureHolger Levsen1-4/+4
2015-11-14reproducible freebsd: each loop should not failHolger Levsen1-2/+1
2015-11-14reproducible freebsd: we need to break out of the loop hereHolger Levsen1-1/+1
2015-11-14reprodcucible freebsd: dont try to run 2nd build in future for nowHolger Levsen1-4/+4
2015-11-12(if) run system 398 days in futureHolger Levsen1-2/+2
2015-11-12reproducible freebsd: try harder to ignore failures in one branchHolger Levsen1-7/+7
2015-11-11reproducible freebsd: dont fail the complete job even if one branch fails to ↵Holger Levsen1-1/+1
build
2015-11-10reproducible freebsd: dont fail the complete job even if one branch fails to ↵Holger Levsen1-1/+5
build
2015-11-09reproducible freebsd: dont fail on cleanupHolger Levsen1-0/+1
2015-11-04reproducible freebsd: enable debugHolger Levsen1-1/+1
2015-11-04reprodcuible freebsd: refactorHolger Levsen1-22/+17
2015-11-04reproducible freebsd: better explain which branch is being worked onHolger Levsen1-5/+5