diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-12-10 14:15:05 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-12-15 17:32:10 +0100 |
commit | dea1ee1fd740248307f74ca4cb70b94742264098 (patch) | |
tree | caba559f17f2847dd1fa15937886011e8f07b495 /gnu | |
parent | 0f15fd5c12e53c5e5307943f69ab25c0486244e9 (diff) | |
download | guix-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')
-rw-r--r-- | gnu/build/image.scm | 1 | ||||
-rw-r--r-- | gnu/build/vm.scm | 1 |
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))))) |