summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-07-16 09:56:33 +0200
committerLudovic Courtès <ludo@gnu.org>2015-07-16 09:58:19 +0200
commit6c92551af9e01b25ecacb4c4c26716254ec4adf4 (patch)
tree6d319db8379e09bb8658299be9be7a6eefc52e9e /gnu
parent1cab9e810ef7843afdbd101ad967f835cfb64999 (diff)
downloadguix-6c92551af9e01b25ecacb4c4c26716254ec4adf4.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/system/install.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index 359d1265e5..1ebfc4bbb3 100644
--- a/gnu/system/install.scm
+++ b/gnu/system/install.scm
@@ -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,