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>
Fri, 15 Apr 2022 13:11:54 +0000 (14:11 +0100)
commit5e617186404ce578adf4ec3f2f1c90fd671c8f9b
treefb5f5288574ed525b947344ab6dd37f795f0f9b8
parenta376efae8f17a94b6c9eb04fa7ef05a5abf73397
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>
(cherry picked from commit aece8f5ae8d15e5e79b8e34a176895209709afb6)
scripts/gen_image_generic.sh