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.
master
Ludovic Courtès 2015-07-16 09:56:33 +02:00
parent 1cab9e810e
commit 6c92551af9
1 changed files with 1 additions and 0 deletions

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,