mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 05:39:41 -05:00
linux-container: Accept file systems with a UUID 'source'.
* gnu/system/linux-container.scm (containerized-operating-system)[user-file-systems]: Check whether SOURCE is a string before calling 'string-prefix?'.
This commit is contained in:
parent
6eb439070a
commit
1f1ff6a0e7
1 changed files with 2 additions and 1 deletions
|
@ -57,7 +57,8 @@ (define user-file-systems
|
|||
(source (file-system-device fs)))
|
||||
(or (string=? target (%store-prefix))
|
||||
(string=? target "/")
|
||||
(string-prefix? "/dev/" source)
|
||||
(and (string? source)
|
||||
(string-prefix? "/dev/" source))
|
||||
(string-prefix? "/dev" target)
|
||||
(string-prefix? "/sys" target))))
|
||||
(operating-system-file-systems os)))
|
||||
|
|
Loading…
Reference in a new issue