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'.master
parent
790c3e019a
commit
a7751eeb57
|
@ -420,8 +420,10 @@ GRUB configuration and OS-DRV as the stuff in it."
|
||||||
(register-closure
|
(register-closure
|
||||||
"/tmp/root"
|
"/tmp/root"
|
||||||
(string-append "/xchg/" closure)
|
(string-append "/xchg/" closure)
|
||||||
;; XXX: Using deduplication causes cross device link errors.
|
;; TARGET-STORE is a read-only bind-mount so we shouldn't try
|
||||||
#:deduplicate? #f))
|
;; to modify it.
|
||||||
|
#:deduplicate? #f
|
||||||
|
#:reset-timestamps? #f))
|
||||||
closures))
|
closures))
|
||||||
|
|
||||||
(apply invoke
|
(apply invoke
|
||||||
|
|
Reference in New Issue