scripts/gen_image_generic.sh: generate reproducible EFI filesystem
authorDaniel Golle <daniel@makrotopia.org>
Mon, 11 Apr 2022 14:25:27 +0000 (15:25 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 11 Apr 2022 14:29:33 +0000 (15:29 +0100)
commitaece8f5ae8d15e5e79b8e34a176895209709afb6
tree31d5ade6d160a291fea11bf31b3bf34bce99b7b0
parent3aa96efa24c13c6e0aafa5ad826f3f95a3bd74f9
scripts/gen_image_generic.sh: generate reproducible EFI filesystem

Generate FAT filesystem for EFI boot in a reproducible way:
 * use '--invariant' option of mkfs.fat
 * set timestamps of all files to SOURCE_DATE_EPOCH
 * make sure files are ordered locale-independent

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
scripts/gen_image_generic.sh