From a7751eeb574e92b7d629e00f71a4207a52a3a62e Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 26 Jun 2018 11:34:28 +0200 Subject: 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'. --- gnu/build/vm.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gnu/build/vm.scm') 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 -- cgit v1.2.3