depot/nix/pkgs/flipperzero-firmware/0004-scripts-sconsdist-disable-strict_timestamps-allow-FS.patch

25 lines
844 B
Diff

From 67ea1d3dc32a3a9d4191a325b33a9e8d9f4f934e Mon Sep 17 00:00:00 2001
From: Luke Granger-Brown <git@lukegb.com>
Date: Sat, 22 Oct 2022 19:50:27 +0100
Subject: [PATCH 4/4] scripts/sconsdist: disable strict_timestamps - allow FS
timestamps pre 1980
---
scripts/sconsdist.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/sconsdist.py b/scripts/sconsdist.py
index 5f38ec980..270335e1f 100644
--- a/scripts/sconsdist.py
+++ b/scripts/sconsdist.py
@@ -77,6 +77,7 @@ class Main(App):
self.get_dist_filepath(self.get_project_filename(project, "zip")),
"w",
zipfile.ZIP_DEFLATED,
+ strict_timestamps=False,
) as zf:
for root, dirs, files in walk(sdk_folder):
for file in files:
--
2.37.2