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

25 lines
787 B
Diff

From d7ca7d6617950f13371aeabf179060a82cfccc88 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 0fa120d87..3e950e681 100644
--- a/scripts/sconsdist.py
+++ b/scripts/sconsdist.py
@@ -82,6 +82,7 @@ class Main(App):
self.get_dist_file_path(self.get_dist_file_name(foldertype, "zip")),
"w",
zipfile.ZIP_DEFLATED,
+ strict_timestamps=False,
) as zf:
for root, _, files in walk(sdk_folder):
for file in files:
--
2.38.1