guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/07: vm: Reset file timestamps in ISO images.


From: guix-commits
Subject: 02/07: vm: Reset file timestamps in ISO images.
Date: Sat, 20 Apr 2019 18:52:28 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 833480cc1fa934b64a192fe7b2401491d4f169df
Author: Ludovic Courtès <address@hidden>
Date:   Sat Apr 20 14:42:53 2019 +0200

    vm: Reset file timestamps in ISO images.
    
    Partly fixes <https://bugs.gnu.org/35283>.
    Reported by Florian Pelz <address@hidden>.
    
    * gnu/build/vm.scm (make-iso9660-image): Pass "-volume_date
    all_file_dates =1".
---
 gnu/build/vm.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/build/vm.scm b/gnu/build/vm.scm
index e15ca4d..75f1394 100644
--- a/gnu/build/vm.scm
+++ b/gnu/build/vm.scm
@@ -471,6 +471,10 @@ GRUB configuration and OS-DRV as the stuff in it."
                 "mnt=/tmp/root/mnt"
                 "-path-list" "-"
                 "--"
+
+                ;; Set all timestamps to 1.
+                "-volume_date" "all_file_dates" "=1"
+
                 "-volid" (string-upcase volume-id)
                 (if volume-uuid
                     `("-volume_date" "uuid"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]