mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-01 18:05:17 +00:00
vm: Let ‘%immutable-store’ through.
Fixes guix/guix#1926. ‘guix system vm’ would so far produce a system without the ‘file-system-/gnu/store’ Shepherd service, which is normally provided by ‘%immutable-store’. This would lead to an error for OS configs that explicitly require ‘file-system-/gnu/store’, such as those that use ‘qemu-binfmt-service-type’. * gnu/system/vm.scm (virtualized-operating-system)[user-file-systems]: Remove filtering of TARGET = (%store-prefix). Reported-by: Ashvith Shetty <ashvithshetty0010@zohomail.in> Change-Id: I656df6c3f067e47cd7acd03af437fe757db286d5
This commit is contained in:
parent
2e3b5863e1
commit
1e37976756
1 changed files with 1 additions and 2 deletions
|
@ -153,8 +153,7 @@ environment with the store shared with the host. MAPPINGS is a list of
|
|||
(remove (lambda (fs)
|
||||
(let ((target (file-system-mount-point fs))
|
||||
(source (file-system-device fs)))
|
||||
(or (string=? target (%store-prefix))
|
||||
(string=? target "/")
|
||||
(or (string=? target "/")
|
||||
(and (string? source)
|
||||
(string-prefix? "/dev/" source))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue