Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2018 14:53:00 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r338643 - head/sys/conf
Message-ID:  <201809131453.w8DEr0su062696@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Thu Sep 13 14:52:59 2018
New Revision: 338643
URL: https://svnweb.freebsd.org/changeset/base/338643

Log:
  Enable reproducible builds in advance of 12.0-REL
  
  r338642 toggled the REPRODUCIBLE_BUILD knob but missed the
  corresponding kern.opts.mk change.
  
  We want to build the 12.0 release artifacts with reproducible builds
  mode enabled. Switch it on in HEAD now to enable testing with upcoming
  ALPHA builds. We can revisit the default setting for HEAD after the
  branch is created.
  
  This change eliminates the build metadata (user, hostname, timestamp,
  etc.) from the kernel and loader.  If the src tree is a git, svn or p4
  checkout with changes then the metadata is retained.
  
  The WITHOUT_REPRODUCIBLE_BUILD src.conf(5) knob can be used to revert
  to the previous behaviour.
  
  Approved by:	re (gjb)
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/conf/kern.opts.mk

Modified: head/sys/conf/kern.opts.mk
==============================================================================
--- head/sys/conf/kern.opts.mk	Thu Sep 13 14:26:53 2018	(r338642)
+++ head/sys/conf/kern.opts.mk	Thu Sep 13 14:52:59 2018	(r338643)
@@ -42,6 +42,7 @@ __DEFAULT_YES_OPTIONS = \
     MODULE_DRM2 \
     NETGRAPH \
     PF \
+    REPRODUCIBLE_BUILD \
     SOURCELESS_HOST \
     SOURCELESS_UCODE \
     TESTS \
@@ -53,8 +54,7 @@ __DEFAULT_NO_OPTIONS = \
     KERNEL_RETPOLINE \
     NAND \
     OFED \
-    RATELIMIT \
-    REPRODUCIBLE_BUILD
+    RATELIMIT
 
 # Some options are totally broken on some architectures. We disable
 # them. If you need to enable them on an experimental basis, you



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809131453.w8DEr0su062696>