summary refs log tree commit diff
path: root/gnu/build
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-04-20 14:42:53 +0200
committerLudovic Courtès <ludo@gnu.org>2019-04-21 00:51:18 +0200
commit833480cc1fa934b64a192fe7b2401491d4f169df (patch)
treeabd9d831ecb00d3ae897fe3685b20c37fc915137 /gnu/build
parent785919121066a10b291d783b6903b5e368e992a8 (diff)
downloadguix-833480cc1fa934b64a192fe7b2401491d4f169df.tar.gz
vm: Reset file timestamps in ISO images.
Partly fixes <https://bugs.gnu.org/35283>.
Reported by Florian Pelz <pelzflorian@pelzflorian.de>.

* gnu/build/vm.scm (make-iso9660-image): Pass "-volume_date
all_file_dates =1".
Diffstat (limited to 'gnu/build')
-rw-r--r--gnu/build/vm.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/build/vm.scm b/gnu/build/vm.scm
index e15ca4d5fb..75f1394d1a 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"