kumquat-buildroot/support/download
Yann E. MORIN 76b51f90c0 support/download: generate reproducible Hg archives
When hg directly creates the output file, the hash for that file changes
everytime.

However, if we just tell hg to output the archive on stdout and we do
the redirect to the file, then the archive is reproducible.

(The reason is that in the first case, a temporary file is created and
then compressed, and gzip is adding the filename and its timestamp in
the gzip header, while in the second case, there is no temporary file,
and thus no timestamp and thus it is reproducible.)

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Yegor Yefremov <yegorslists@googlemail.com>
Tested-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-03 21:50:38 +01:00
..
bzr support/download: protect from custom commands with spaces in args 2015-12-12 17:00:46 +01:00
check-hash support/download: restore mandatory check of hashes 2015-04-25 11:51:44 +02:00
cp support/download: protect from custom commands with spaces in args 2015-12-12 17:00:46 +01:00
cvs support/download: protect from custom commands with spaces in args 2015-12-12 17:00:46 +01:00
dl-wrapper support/download: properly catch missing hashes 2015-04-03 14:08:54 +02:00
git support/download: protect from custom commands with spaces in args 2015-12-12 17:00:46 +01:00
hg support/download: generate reproducible Hg archives 2016-01-03 21:50:38 +01:00
scp support/download: protect from custom commands with spaces in args 2015-12-12 17:00:46 +01:00
svn support/download: protect from custom commands with spaces in args 2015-12-12 17:00:46 +01:00
wget support/download: protect from custom commands with spaces in args 2015-12-12 17:00:46 +01:00