mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-21 16:05:02 +02:00
Make build reproducible
This needs 3 fixes: * for an ordering issue in docs_ref_map_generated.h * for a filesystem-order issue in uniforms_generated.h * to normalize mtimes in the data_generated.bin tar This patch was done while working on reproducible builds for openSUSE.
This commit is contained in:
@@ -822,6 +822,7 @@ def generate_ssh_kitten_data() -> None:
|
||||
def normalize(t: tarfile.TarInfo) -> tarfile.TarInfo:
|
||||
t.uid = t.gid = 0
|
||||
t.uname = t.gname = ''
|
||||
t.mtime = 0
|
||||
return t
|
||||
|
||||
if newer(dest, *files):
|
||||
|
||||
Reference in New Issue
Block a user