tools/yafut: refresh patch

Refresh 100-honour-SOURCE_DATE_EPOCH.patch

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau committed 2026-09-23 11:58:39 +02:00
1 parent c09e3f28ba
commit d5c26afe33
1 file changed
+2 -2
@@ -19,7 +19,7 @@ Signed-off-by: John Crispin <john@phrozen.org>
+++ b/src/yaffs_glue.c
@@ -27,7 +27,21 @@ void yaffsfs_Unlock(void) {
}
u32 yaffsfs_CurrentTime(void) {
- return time(NULL);
+ const char *source_date_epoch = getenv("SOURCE_DATE_EPOCH");
@@ -38,5 +38,5 @@ Signed-off-by: John Crispin <john@phrozen.org>
+
+ return epoch;
}
void yaffsfs_SetError(int err) {