diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-06-26 11:34:28 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-06-26 14:27:57 +0200 |
commit | a7751eeb574e92b7d629e00f71a4207a52a3a62e (patch) | |
tree | 08a1b95d24ccc8419d963f02ff34aa2ea7b1ae5a | |
parent | 790c3e019a5410018bd31596c2dcda5d0efb0d36 (diff) | |
download | guix-a7751eeb574e92b7d629e00f71a4207a52a3a62e.tar guix-a7751eeb574e92b7d629e00f71a4207a52a3a62e.tar.gz |
vm: Don't try to modify the bind-mounted store.
Previously 'guix system disk-image --file-system-type=iso9660' would
fail because 'register-closure' would try to reset timestamps/ownership
on the bind-mounted store, which fails with EPERM.
* gnu/build/vm.scm (make-iso9660-image): Pass #:reset-timestamps? to
'register-closure'.
-rw-r--r-- | gnu/build/vm.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/build/vm.scm b/gnu/build/vm.scm index 73d0191de7..312500de88 100644 --- a/gnu/build/vm.scm +++ b/gnu/build/vm.scm @@ -420,8 +420,10 @@ GRUB configuration and OS-DRV as the stuff in it." (register-closure "/tmp/root" (string-append "/xchg/" closure) - ;; XXX: Using deduplication causes cross device link errors. - #:deduplicate? #f)) + ;; TARGET-STORE is a read-only bind-mount so we shouldn't try + ;; to modify it. + #:deduplicate? #f + #:reset-timestamps? #f)) closures)) (apply invoke |