mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: icecat: Improve computed 'icecat-source' tarball.
* gnu/packages/gnuzilla.scm (icecat-source): When packing the new IceCat tarball, set the mtime of archived files to early 1980. Remove useless 'string-append' applied to one argument.
This commit is contained in:
parent
d17b1c0891
commit
8cf160e122
1 changed files with 7 additions and 3 deletions
|
@ -722,11 +722,15 @@ (define icecat-source
|
||||||
(string-append old-icecat-dir "/l10n")
|
(string-append old-icecat-dir "/l10n")
|
||||||
(string-append old-icecat-dir "/debian"))
|
(string-append old-icecat-dir "/debian"))
|
||||||
|
|
||||||
(format #t (string-append "Packing new IceCat tarball...~%"))
|
(format #t "Packing new IceCat tarball...~%")
|
||||||
(force-output)
|
(force-output)
|
||||||
(invoke "tar" "cfa" #$output
|
(invoke "tar" "cfa" #$output
|
||||||
;; avoid non-determinism in the archive
|
;; Avoid non-determinism in the archive. We set the
|
||||||
"--mtime=@0"
|
;; mtime of files in the archive to early 1980 because
|
||||||
|
;; the build process fails if the mtime of source
|
||||||
|
;; files is pre-1980, due to the creation of zip
|
||||||
|
;; archives.
|
||||||
|
"--mtime=@315619200" ; 1980-01-02 UTC
|
||||||
"--owner=root:0"
|
"--owner=root:0"
|
||||||
"--group=root:0"
|
"--group=root:0"
|
||||||
"--sort=name"
|
"--sort=name"
|
||||||
|
|
Loading…
Reference in a new issue