mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
vm: 'iso9660-image' uses a local /tmp.
Fixes <https://bugs.gnu.org/31752>.
Regression introduced in commit 8c9bf2946a
.
* gnu/system/vm.scm (iso9660-image): Pass #:file-systems to
'expression->derivation-in-linux-vm'.
This commit is contained in:
parent
50e53c1c67
commit
fb126314f8
1 changed files with 8 additions and 0 deletions
|
@ -260,6 +260,14 @@ (define* (iso9660-image #:key
|
|||
uuid-bytevector))
|
||||
(reboot))))
|
||||
#:system system
|
||||
|
||||
;; Keep a local file system for /tmp so that we can populate it directly as
|
||||
;; root and have files owned by root. See <https://bugs.gnu.org/31752>.
|
||||
#:file-systems (remove (lambda (file-system)
|
||||
(string=? (file-system-mount-point file-system)
|
||||
"/tmp"))
|
||||
%linux-vm-file-systems)
|
||||
|
||||
#:make-disk-image? #f
|
||||
#:single-file-output? #t
|
||||
#:references-graphs inputs))
|
||||
|
|
Loading…
Reference in a new issue