From 7fe8fe65802a2de125bda5e8e014cebe1aec963b Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Wed, 14 May 2014 12:09:02 -0400 Subject: [PATCH] squashme: gitian: fix qt determinism Fixes the 'date' wrapper which wasn't actually functional. Sequential builds would be the same, but builds crossing a date threshold would not. --- contrib/gitian-descriptors/gitian-osx-qt.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/contrib/gitian-descriptors/gitian-osx-qt.yml b/contrib/gitian-descriptors/gitian-osx-qt.yml index cb183fe034a..d0be016e68a 100644 --- a/contrib/gitian-descriptors/gitian-osx-qt.yml +++ b/contrib/gitian-descriptors/gitian-osx-qt.yml @@ -7,7 +7,6 @@ architectures: packages: - "git-core" - "automake" -- "faketime" - "p7zip-full" reference_datetime: "2013-06-01 00:00:00" @@ -28,13 +27,11 @@ script: | export TAR_OPTIONS="-m --mtime="$REFERENCE_DATE\\\ $REFERENCE_TIME"" export ZERO_AR_DATE=1 - export REFERENCE_DATETIME export TZ=UTC REAL_DATE=`which date` echo '#!/bin/bash' > $HOME/date - echo 'export LD_PRELOAD=/usr/lib/faketime/libfaketime.so.1' >> $HOME/date - echo "$REAL_DATE \"\$@\"" >> $HOME/date + echo "$REAL_DATE -d \"${REFERENCE_DATETIME}\" \"\$@\"" >> $HOME/date chmod +x $HOME/date export PATH=$HOME:$PATH