guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/05: install: Set the mtime in the binary tarball to 1.


From: Ludovic Courtès
Subject: 02/05: install: Set the mtime in the binary tarball to 1.
Date: Sat, 17 Oct 2015 13:42:28 +0000

civodul pushed a commit to branch master
in repository guix.

commit 34a7bfb049572fdf02e593ce94dde68736bd1268
Author: Ludovic Courtès <address@hidden>
Date:   Sat Oct 17 12:20:39 2015 +0200

    install: Set the mtime in the binary tarball to 1.
    
    Reported by anthk_ on #guix in Sept. 2015.
    
    * gnu/system/install.scm (self-contained-tarball): Use address@hidden
      instead of address@hidden
---
 gnu/system/install.scm |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/system/install.scm b/gnu/system/install.scm
index 1686cbd..93a6f18 100644
--- a/gnu/system/install.scm
+++ b/gnu/system/install.scm
@@ -76,9 +76,12 @@ under /root/.guix-profile where GUIX is installed."
           (with-directory-excursion %root
             (zero? (system* "tar" "--xz" "--format=gnu"
 
-                            ;; avoid non-determinism in the archive
+                            ;; Avoid non-determinism in the archive.  Use
+                            ;; mtime = 1, not zero, because that is what the
+                            ;; daemon does for files in the store (see the
+                            ;; 'mtimeStore' constant in local-store.cc.)
                             "--sort=name"
-                            "address@hidden"          ;for files in /var/guix
+                            "address@hidden"          ;for files in /var/guix
                             "--owner=root:0"
                             "--group=root:0"
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]