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:
parent
1cab9e810e
commit
6c92551af9
|
@ -75,6 +75,7 @@ under /root/.guix-profile where GUIX is installed."
|
||||||
(with-directory-excursion %root
|
(with-directory-excursion %root
|
||||||
(zero? (system* "tar" "--xz" "--format=gnu"
|
(zero? (system* "tar" "--xz" "--format=gnu"
|
||||||
"--owner=root:0" "--group=root:0"
|
"--owner=root:0" "--group=root:0"
|
||||||
|
"--mtime=@0" ;for files in /var/guix
|
||||||
"--check-links"
|
"--check-links"
|
||||||
"-cvf" #$output
|
"-cvf" #$output
|
||||||
;; Avoid adding / and /var to the tarball,
|
;; Avoid adding / and /var to the tarball,
|
||||||
|
|
Loading…
Reference in New Issue