You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by tv...@apache.org on 2022/01/13 08:57:38 UTC

[buildstream] 01/01: data/projectconfig.yaml: Fix previous fix of SOURCE_DATE_EPOCH

This is an automated email from the ASF dual-hosted git repository.

tvb pushed a commit to branch tristan/fix-timestamp-again
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 3f245231a4833c65ca1a15ecbbedc2b9538e5197
Author: Tristan van Berkom <tr...@codethink.co.uk>
AuthorDate: Thu Jan 13 17:53:48 2022 +0900

    data/projectconfig.yaml: Fix previous fix of SOURCE_DATE_EPOCH
    
    I didn't notice the BST_ARBITRARY_TIMESTAMP was using 11:11:11 in the morning
    and had omitted this part from the derived UTC posix timestamp.
    
    Fixes #1384 again.
---
 src/buildstream/data/projectconfig.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/buildstream/data/projectconfig.yaml b/src/buildstream/data/projectconfig.yaml
index 4c154d2..aeeb3ee 100644
--- a/src/buildstream/data/projectconfig.yaml
+++ b/src/buildstream/data/projectconfig.yaml
@@ -56,8 +56,8 @@ environment:
   HOME: /tmp
   TZ: UTC
 
-  # For reproducible builds we use 2011-11-11 UTC as a constant
-  SOURCE_DATE_EPOCH: 1320969600
+  # For reproducible builds we use 2011-11-11 11:11:11 UTC as a constant
+  SOURCE_DATE_EPOCH: 1321009871
 
 # List of environment variables which should not be taken into
 # account when calculating a cache key for a given element.