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

25 lines
820 B
Diff

From 56353d725ea688580ecb5c022a78ce912646bbe8 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/5] 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 acbe526df..409108b1f 100755
--- a/scripts/sconsdist.py
+++ b/scripts/sconsdist.py
@@ -166,6 +166,7 @@ class Main(App):
self.get_dist_path(self.get_dist_file_name("sdk", "zip")),
"w",
zipfile.ZIP_DEFLATED,
+ strict_timestamps=False,
) as zf:
for component_key in sdk_components_keys:
component_path = self._dist_components.get(component_key)
--
2.40.1