Thanks!

On Tue, Feb 16, 2021 at 12:33 PM Roland Clobus <[email protected]> wrote:

> Hello,
>
> On 16/02/2021 08:43, intrigeri wrote:
> > FWIW, in case it may help, here's how we create a the Tails FAT
> > filesystem reproducibly (pasting Python code as-is):
> >
> >         execute([
> >             'mkfs.msdos',
> >             '-v',
> >             # Use constants for normally randomly generated or
> time-based data
> >             # such as volume ID and creation time
> >             '--invariant',
> >             # Fill all 11 chars of the volume label to avoid any
> uninitialized
> >             # memory from sneaking in
> >             '-n', 'TAILS' + 6 * ' ',
> >             self.partition.props.block.props.device,
> >         ])
>
> I've decided not to use --invariant, because Thomas Schmitt wrote that
> it is important to have unique IDs for /dev/disk/by-label.
> So I've converted the SOURCE_DATE_EPOCH to hex (which is 32bit until
> 2038) [which I should have done when I introduced the -i command line
> argument. :-) ]
>
> See MR243
> https://salsa.debian.org/live-team/live-build/-/merge_requests/243
>
> With kind regards,
> Roland Clobus
>

Reply via email to