Merge the FreeBSD-specific implementation of osdep_uuidgen() with that
of Linux. While the latter is more complex, it lets us ensure that the
returned UUIDs are reproducible.
This mainly affects the UUID embedded in the GPT header.
Differential D49716
mkimg: Add a reproducible mode markj on Apr 8 2025, 9:49 PM. Authored by Tags None Referenced Files
Subscribers
Details Merge the FreeBSD-specific implementation of osdep_uuidgen() with that This mainly affects the UUID embedded in the GPT header.
Diff Detail
Event Timeline
Comment Actions Remove SOURCE_DATE_EPOCH handling per some earlier discussions.
Comment Actions Hmm. It was probably a mistake to do it this way. I should have added a timestamp option, like makefs has with -T. There is one other place I missed, in the VHD footer, where we need a timestamp, and since it's part of the image metadata, it's probably not ideal to hard-code a single value. I'll post a patch which removes -R and instead adds an explicit timestamp option. Unfortunately, -T is already taken. |