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?'.master
parent
6eb439070a
commit
1f1ff6a0e7
|
@ -57,7 +57,8 @@ containerized OS."
|
||||||
(source (file-system-device fs)))
|
(source (file-system-device fs)))
|
||||||
(or (string=? target (%store-prefix))
|
(or (string=? target (%store-prefix))
|
||||||
(string=? target "/")
|
(string=? target "/")
|
||||||
(string-prefix? "/dev/" source)
|
(and (string? source)
|
||||||
|
(string-prefix? "/dev/" source))
|
||||||
(string-prefix? "/dev" target)
|
(string-prefix? "/dev" target)
|
||||||
(string-prefix? "/sys" target))))
|
(string-prefix? "/sys" target))))
|
||||||
(operating-system-file-systems os)))
|
(operating-system-file-systems os)))
|
||||||
|
|
Reference in New Issue