mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-12 06:57:57 +04:00
tools/yafut: refresh patch
Refresh 100-honour-SOURCE_DATE_EPOCH.patch Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
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) {
|
||||
Reference in new issue
Block a user