diff options
author | emaste <emaste@FreeBSD.org> | 2017-01-25 01:04:51 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2017-01-25 01:04:51 +0000 |
commit | dc47b733e66efd0d5af4953ba33a5877e3e54b8f (patch) | |
tree | d927bdf4c964e7ea8ff439880300540978dd1b0d /tools | |
parent | 59522422d6d0ca53d9b19d6ac7213481ce7a6321 (diff) | |
download | FreeBSD-src-dc47b733e66efd0d5af4953ba33a5877e3e54b8f.zip FreeBSD-src-dc47b733e66efd0d5af4953ba33a5877e3e54b8f.tar.gz |
Add WITH_REPRODUCIBLE_BUILD src.conf(5) knob
MFC r310128: Add WITH_REPRODUCIBLE_BUILD src.conf(5) knob to disable kernel
metadata
The kernel builds reproducibly, except for the time, date, user, and
hostname baked into the kernel (reported at startup and via the
kern.version sysctl for uname). Add a build knob to disable the
inclusion of this metadata.
MFC r310268: Build loaders reproducibly when WITH_REPRODUCIBLE_BUILD
When WITH_REPRODUCIBLE_BUILD=yes is set in src.conf(5), eliminate the
time, user, and host from the loader's version information. This allows
builds to produce bit-for-bit identical output.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/build/options/WITH_REPRODUCIBLE_BUILD | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/build/options/WITH_REPRODUCIBLE_BUILD b/tools/build/options/WITH_REPRODUCIBLE_BUILD new file mode 100644 index 0000000..5870051 --- /dev/null +++ b/tools/build/options/WITH_REPRODUCIBLE_BUILD @@ -0,0 +1,4 @@ +$FreeBSD$ +Set to exclude build metadata (such as the build time, user, or host) +from the kernel, boot loaders, and uname output, so that builds produce +bit-for-bit identical output. |