[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#35697] [PATCH 2/8] linux-container: Improve filtering of unnecessar
From: |
Ludovic Courtès |
Subject: |
[bug#35697] [PATCH 2/8] linux-container: Improve filtering of unnecessary file systems. |
Date: |
Sun, 12 May 2019 12:37:56 +0200 |
* gnu/system/linux-container.scm
(containerized-operating-system)[user-file-systems]:
Add trailing slash for the "/dev/" and "/sys/" prefixes.
---
gnu/system/linux-container.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/system/linux-container.scm b/gnu/system/linux-container.scm
index 149c3d08a3..ded5f279fe 100644
--- a/gnu/system/linux-container.scm
+++ b/gnu/system/linux-container.scm
@@ -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)
--
2.21.0
- [bug#35697] [PATCH 0/8] Make 'guix system docker-image' readily usable, Ludovic Courtès, 2019/05/12
- [bug#35697] [PATCH 1/8] system: Export 'operating-system-default-essential-services'., Ludovic Courtès, 2019/05/12
- [bug#35697] [PATCH 2/8] linux-container: Improve filtering of unnecessary file systems.,
Ludovic Courtès <=
- [bug#35697] [PATCH 4/8] linux-container: Do not add %CONTAINER-FILE-SYSTEMS to Docker image OSes., Ludovic Courtès, 2019/05/12
- [bug#35697] [PATCH 3/8] services: 'gc-root-service-type' now has a default value., Ludovic Courtès, 2019/05/12
- [bug#35697] [PATCH 6/8] system: Add 'operating-system-with-gc-roots'., Ludovic Courtès, 2019/05/12
- [bug#35697] [PATCH 5/8] linux-container: Compute essential services for THIS-OPERATING-SYSTEM., Ludovic Courtès, 2019/05/12
- [bug#35697] [PATCH 7/8] docker: 'build-docker-image' accepts an optional #:entry-point., Ludovic Courtès, 2019/05/12
- [bug#35697] [PATCH 8/8] vm: 'system-docker-image' provides an entry point., Ludovic Courtès, 2019/05/12
- bug#35697: [PATCH 0/8] Make 'guix system docker-image' readily usable, Ludovic Courtès, 2019/05/15