[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch core-updates updated: packages: 'patch-and-repack' sets the mtime
From: |
guix-commits |
Subject: |
branch core-updates updated: packages: 'patch-and-repack' sets the mtime to 1, not 0. |
Date: |
Fri, 17 Jan 2020 15:22:02 -0500 |
This is an automated email from the git hooks/post-receive script.
civodul pushed a commit to branch core-updates
in repository guix.
The following commit(s) were added to refs/heads/core-updates by this push:
new 36930b2 packages: 'patch-and-repack' sets the mtime to 1, not 0.
36930b2 is described below
commit 36930b2463fc933e7c5580f49413dbd14cf1df48
Author: Ludovic Courtès <address@hidden>
AuthorDate: Fri Jan 17 21:21:07 2020 +0100
packages: 'patch-and-repack' sets the mtime to 1, not 0.
* guix/packages.scm (patch-and-repack)[build]: Pass "--mtime=@1" instead
of "--mtime=@0".
---
guix/packages.scm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/guix/packages.scm b/guix/packages.scm
index 5ecb97f..d925e75 100644
--- a/guix/packages.scm
+++ b/guix/packages.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès
<address@hidden>
+;;; Copyright © 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Ludovic
Courtès <address@hidden>
;;; Copyright © 2014, 2015, 2017, 2018 Mark H Weaver <address@hidden>
;;; Copyright © 2015 Eric Bavier <address@hidden>
;;; Copyright © 2016 Alex Kost <address@hidden>
@@ -637,8 +637,10 @@ specifies modules in scope when evaluating SNIPPET."
(apply invoke
(string-append #+tar "/bin/tar")
"cvfa" #$output
- ;; avoid non-determinism in the archive
- "--mtime=@0"
+ ;; Avoid non-determinism in the archive. Set the mtime
+ ;; to 1 as is the case in the store (software like gzip
+ ;; behaves differently when it stumbles upon mtime = 0).
+ "--mtime=@1"
"--owner=root:0"
"--group=root:0"
(if tar-supports-sort?
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch core-updates updated: packages: 'patch-and-repack' sets the mtime to 1, not 0.,
guix-commits <=