<div dir="auto"><br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Sat, 2 May 2020, 07:36 Neil Roza, <<a href="mailto:neil@rtr.ai">neil@rtr.ai</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi ipxe-devel,</div><div><br></div><div>Please find the attached diff representing a patch I would like to submit for your consideration. This is a small change to the `src/Makefile.housekeeping` that makes the generation of most artifacts (notably not `*.usb` images) deterministic.</div><div><br></div><div>The scariest change here is the removal of the `BUILD_ID_CMD` in favor of an inlined shell snippet where the `_build_id` symbol is defined. In keeping with the comments that specify a unique `_build_id` for each `$(BIN)/%.tmp`, I use the first 8 characters of the md5sum of the target, in the expected base-prefixed hexadecimal representation. Calculating the likelihood of collisions I leave as an exercise to the reviewer. :D</div><div><br></div><div>The `BUILD_TIMESTAMP` assignment has been changed to allow environment variable overriding, but it defaults to `SOURCE_DATE_EPOCH`. The source date epoch can also be overridden; it defaults to the Unix timestamp of the current git HEAD commit.</div><div><br></div><div>I like reproducible builds, but I recognize that others have different concerns. I'm happy to change what needs changing.</div><div></div></div></blockquote></div><div dir="auto"><br></div><div dir="auto">Hi,</div><div dir="auto">Have you read all previous emails on the topic that is posted to the mailing list?</div><div dir="auto">Also take a look at the commits that introduced the parts that you now are changing.</div><div dir="auto"><br></div><div class="gmail_quote" dir="auto"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div></div>
</blockquote></div></div>