mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
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
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@ (define %root "root")
|
|||
(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,
|
||||
|
|
Loading…
Reference in a new issue