Control: tags -1 pending

Am Freitag, dem 11.02.2022 um 22:46 +0100 schrieb Thomas Schmitt:
> 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)
> 
> 

Wow. Thanks very much to you both.
This is the solution. I would never come up that fast with it.



> Have a nice day :)
> 
Have a nice weekend :)

Felix

Reply via email to