aboutsummaryrefslogtreecommitdiff
path: root/gnu/build
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-12-10 14:15:05 +0100
committerLudovic Courtès <ludo@gnu.org>2020-12-15 17:32:10 +0100
commitdea1ee1fd740248307f74ca4cb70b94742264098 (patch)
treecaba559f17f2847dd1fa15937886011e8f07b495 /gnu/build
parent0f15fd5c12e53c5e5307943f69ab25c0486244e9 (diff)
downloadguix-dea1ee1fd740248307f74ca4cb70b94742264098.tar
guix-dea1ee1fd740248307f74ca4cb70b94742264098.tar.gz
database: Remove #:reset-timestamps? from 'register-items'.
The assumption now is that the caller took care of resetting timestamps and permissions. * guix/store/database.scm (register-items): Remove #:reset-timestamps? parameter and the call to 'reset-timestamps'. (register-path): Adjust accordingly and add call to 'reset-timestamps'. * gnu/build/image.scm (register-closure): Remove #:reset-timestamps? parameter to 'register-items'. * gnu/build/vm.scm (register-closure): Likewise. * guix/nar.scm (finalize-store-file): Adjust accordingly. * guix/scripts/pack.scm (store-database)[build]: Likewise.
Diffstat (limited to 'gnu/build')
-rw-r--r--gnu/build/image.scm1
-rw-r--r--gnu/build/vm.scm1
2 files changed, 0 insertions, 2 deletions
diff --git a/gnu/build/image.scm b/gnu/build/image.scm
index 4f80a1964f..0deea10a9d 100644
--- a/gnu/build/image.scm
+++ b/gnu/build/image.scm
@@ -155,7 +155,6 @@ to call-with-database."
(register-items db items
#:prefix prefix
#:deduplicate? deduplicate?
- #:reset-timestamps? #f
#:registration-time %epoch)))))
(define* (initialize-efi-partition root
diff --git a/gnu/build/vm.scm b/gnu/build/vm.scm
index f700e08b25..abb0317faf 100644
--- a/gnu/build/vm.scm
+++ b/gnu/build/vm.scm
@@ -227,7 +227,6 @@ deduplicates files common to CLOSURE and the rest of PREFIX."
(register-items db items
#:prefix prefix
#:deduplicate? deduplicate?
- #:reset-timestamps? #f
#:registration-time %epoch)))))