install: Reset the mtimes of all the files in the binary tarball.

* gnu/system/install.scm (self-contained-tarball): Pass "--mtime=@0".  The
  only files whose mtime was not already were those in /var/guix and
  /gnu/store/.links.
This commit is contained in:
Ludovic Courtès 2015-07-16 09:56:33 +02:00
parent 1cab9e810e
commit 6c92551af9

View File

@ -75,6 +75,7 @@ under /root/.guix-profile where GUIX is installed."
(with-directory-excursion %root
(zero? (system* "tar" "--xz" "--format=gnu"
"--owner=root:0" "--group=root:0"
"--mtime=@0" ;for files in /var/guix
"--check-links"
"-cvf" #$output
;; Avoid adding / and /var to the tarball,