~ruther/guix-local

6c92551af9e01b25ecacb4c4c26716254ec4adf4 — Ludovic Courtès 10 years ago 1cab9e8
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.
1 files changed, 1 insertions(+), 0 deletions(-)

M gnu/system/install.scm
M gnu/system/install.scm => gnu/system/install.scm +1 -0
@@ 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,