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

26 lines
820 B
Diff
Raw Normal View History

2023-09-16 15:00:24 +00:00
From 89c700c42bffea14cdcaed8c2918a4d97c4e6c59 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-09-16 15:00:24 +00:00
index 45d6ae7f0..4b64f9f94 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-09-16 15:00:24 +00:00
2.41.0