Skip to content

Commit

Permalink
release: Document reproducible release tarballs
Browse files Browse the repository at this point in the history
PR: 283214

Signed-off-by: Pat Maddox <[email protected]>
  • Loading branch information
patmaddox committed Dec 17, 2024
1 parent 73f7897 commit 07e5e60
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions share/man/man7/release.7
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,16 @@ This is intended for use only when
.Fa /usr/ports
is expected to exist by alternative means.
.El
.Sh REPRODUCIBLE BUILDS
Different builders can produce bit-identical release tarballs using
.Va PKG_TIMESTAMP
and
.Va REVISION :
.Bd -literal -offset indent
git checkout <REVISION>
make -DWITH_REPRODUCIBLE_BUILD buildworld buildkernel
make -C release -DWITH_REPRODUCIBLE_BUILD PKG_TIMESTAMP=<TIMESTAMP> packagesystem
.Ed
.Sh EMBEDDED BUILDS
The following
.Fa release.conf
Expand Down

0 comments on commit 07e5e60

Please sign in to comment.