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

26 lines
820 B
Diff
Raw Normal View History

2023-07-19 02:54:50 +00:00
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
2023-07-19 02:54:50 +00:00
Subject: [PATCH 4/5] scripts/sconsdist: disable strict_timestamps - allow FS
timestamps pre 1980
---
2023-07-19 02:54:50 +00:00
scripts/sconsdist.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/sconsdist.py b/scripts/sconsdist.py
2023-07-19 02:54:50 +00:00
index acbe526df..409108b1f 100755
--- a/scripts/sconsdist.py
+++ b/scripts/sconsdist.py
2023-07-19 02:54:50 +00:00
@@ -166,6 +166,7 @@ class Main(App):
2023-04-16 18:15:28 +00:00
self.get_dist_path(self.get_dist_file_name("sdk", "zip")),
"w",
zipfile.ZIP_DEFLATED,
+ strict_timestamps=False,
) as zf:
2023-04-16 18:15:28 +00:00
for component_key in sdk_components_keys:
component_path = self._dist_components.get(component_key)
--
2023-07-19 02:54:50 +00:00
2.40.1