diff options
author | Mark Johnston <markj@FreeBSD.org> | 2025-07-07 20:27:24 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2025-07-07 20:27:24 +0000 |
commit | 393fefa3d9c78948d911e5de0182a9b858b23475 (patch) | |
tree | be626411e0e9f0d8d93e3d33ba206d3be53d6da1 /sys/mips/atheros/(developers-only) | |
parent | ed4c64bc792fd2509d8fd6805f8e174c2db62338 (diff) |
In commit 95ac5b0e27e9 ("mkimg: Add a reproducible mode"), I added a -R
flag to mkimg, indicating that output should be reproducible.
There is one place in the VHD image backend that uses time(3) to
populate an image metadata field; this field is visible to tools which
know how to process VHD images. Rather than picking an arbitrary value
for that timestamp, it seems better to behave like makefs(8) and let the
invoker pick a suitable timestamp.
So, remove -R and instead add a -t option which lets the timestamp be
specified directly. Then, modify the VHD backend to use that timestamp.
Fixes: 95ac5b0e27e9 ("mkimg: Add a reproducible mode")
Reviewed by: bnovkov
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D51077
Diffstat (limited to 'sys/mips/atheros/(developers-only)')
0 files changed, 0 insertions, 0 deletions