Skip to content

Patch idea: an environment variable for setting the user ID

2 messages · Henrik Bengtsson, Dénes Tóth

#
Another thing to consider if one wants to anonymize the build is the
UID/GID of the files in the tarball.  So there might be a need for a
R_BUILD_UID and R_BUILD_GID, e.g. by setting those to 32767
("nobody").

/Henrik
On Fri, Jan 25, 2019 at 9:25 AM Will L <will.landau at gmail.com> wrote:
#
Maybe a further thing to consider is to introduce an environment 
variable by which one can avoid `add_build_stamp_to_description_file()` 
and any other calls altogether which affect bitwise reproducibility 
during the build process. If two users build the same package on exactly 
the same hardware and in the same software environment, the tarballs are 
expected to be identical. This is not the case now.

Denes
On 11/22/19 9:25 PM, Henrik Bengtsson wrote: