mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-25 12:09:15 -05:00
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 --mtime=@1 instead of --mtime=@0.
This commit is contained in:
parent
4375dcf36c
commit
34a7bfb049
1 changed files with 5 additions and 2 deletions
|
@ -76,9 +76,12 @@ (define %root "root")
|
||||||
(with-directory-excursion %root
|
(with-directory-excursion %root
|
||||||
(zero? (system* "tar" "--xz" "--format=gnu"
|
(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"
|
"--sort=name"
|
||||||
"--mtime=@0" ;for files in /var/guix
|
"--mtime=@1" ;for files in /var/guix
|
||||||
"--owner=root:0"
|
"--owner=root:0"
|
||||||
"--group=root:0"
|
"--group=root:0"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue