Hi,

Chris Lamb wrote:
> Did you try the --invariant flag?

Well, i step aside and let this question reach Felix. :))

  https://manpages.debian.org/unstable/dosfstools/mkdosfs.8.en.html
says that this is what we need if my theory about the second difference
is correct:

  --invariant
    Use constants for normally randomly generated or time based data
    such as volume ID and creation time. Multiple runs of mkfs.fat on
    the same device create identical results with this option.


So the options to be added to the mkdosfs runs in the hope for a fully
reproducible ISO are:

  -i 12345678 --invariant

If a more more individual -i number is desired, one could use something
like

  -i $(printf '%8.8x' "$SOURCE_DATE_EPOCH" | head -c 8)


Have a nice day :)

Thomas

Reply via email to