Page MenuHomeFreeBSD

Disable REPRODUCIBLE_BUILD for kernel builds.
ClosedPublic

Authored by jhb on Aug 27 2019, 10:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 11, 10:57 PM
Unknown Object (File)
Jan 8 2024, 11:58 PM
Unknown Object (File)
Dec 20 2023, 3:52 AM
Unknown Object (File)
Dec 11 2023, 12:48 AM
Unknown Object (File)
Nov 10 2023, 11:04 PM
Unknown Object (File)
Nov 10 2023, 2:32 AM
Unknown Object (File)
Nov 7 2023, 1:00 PM
Unknown Object (File)
Oct 11 2023, 6:39 PM
Subscribers

Details

Summary

The REPRODUCIBLE_BUILD option is actually managed in two separate
files. src.opts.mk governs the setting for world builds and
kern.opts.mk governs it for kernel builds. r350550 only changed the default
for world builds.

Reported by: emaste

Test Plan
  • tested in a VM by removing the knob from /etc/src.conf and verifying a before kernel had a shorter uname -a and an after kernel had a full uname -a

Ed would like us to just remove the non-kernel places that use this knob
(I think it's only the boot loader?) and only have the kernel knob, but
I think that can be done as a separate change.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I think they should have the same default, so leave your change to src.opts.mk in place.

  • Drop src.opts.mk change.
jhb retitled this revision from Revert r350550 and disable REPRODUCIBLE_BUILD for kernel builds. to Disable REPRODUCIBLE_BUILD for kernel builds..Sep 13 2019, 5:06 AM
jhb edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Sep 27 2019, 1:09 PM
This revision was automatically updated to reflect the committed changes.