linux-container: Improve filtering of unnecessary file systems.
* gnu/system/linux-container.scm (containerized-operating-system)[user-file-systems]: Add trailing slash for the "/dev/" and "/sys/" prefixes.
This commit is contained in:
parent
f8885ecab6
commit
76ae10a1f4
|
@ -65,8 +65,8 @@ containerized OS."
|
||||||
(string=? target "/")
|
(string=? target "/")
|
||||||
(and (string? source)
|
(and (string? source)
|
||||||
(string-prefix? "/dev/" 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)))
|
||||||
|
|
||||||
(define (mapping->fs fs)
|
(define (mapping->fs fs)
|
||||||
|
|
Loading…
Reference in New Issue