mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
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:
@@ -65,8 +65,8 @@ containerized OS."
|
||||
(string=? target "/")
|
||||
(and (string? source)
|
||||
(string-prefix? "/dev/" source))
|
||||
(string-prefix? "/dev" target)
|
||||
(string-prefix? "/sys" target))))
|
||||
(string-prefix? "/dev/" target)
|
||||
(string-prefix? "/sys/" target))))
|
||||
(operating-system-file-systems os)))
|
||||
|
||||
(define (mapping->fs fs)
|
||||
|
||||
Reference in New Issue
Block a user