me
/
guix
Archived
1
0
Fork 0

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
Ludovic Courtès 2018-06-26 11:34:28 +02:00
parent 790c3e019a
commit a7751eeb57
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 4 additions and 2 deletions

View File

@ -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