diff options
author | Marius Bakke <[email protected]> | 2019-07-07 01:18:18 +0200 |
---|---|---|
committer | Marius Bakke <[email protected]> | 2019-07-07 01:18:18 +0200 |
commit | 36175a3a9eb5bd4096de4e06e1f6b0e8cd895d84 (patch) | |
tree | 7c2d8dd2267b2dc533d5f59acc137641e2325e52 /gnu/build/linux-container.scm | |
parent | 42dcfca4cc424aa790d8fb62eb327782fd08aad7 (diff) | |
parent | c72647fbae675654e32e17a6891980a7b9272a71 (diff) |
Merge branch 'master' into staging
Diffstat (limited to 'gnu/build/linux-container.scm')
-rw-r--r-- | gnu/build/linux-container.scm | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gnu/build/linux-container.scm b/gnu/build/linux-container.scm index e86ac606c0..6ccb924861 100644 --- a/gnu/build/linux-container.scm +++ b/gnu/build/linux-container.scm @@ -130,9 +130,14 @@ for the process." "/dev/random" "/dev/urandom" "/dev/tty" - "/dev/ptmx" "/dev/fuse")) + ;; Mount a new devpts instance on /dev/pts. + (when (file-exists? "/dev/ptmx") + (mount* "none" (scope "/dev/pts") "devpts" 0 + "newinstance,mode=0620") + (symlink "/dev/pts/ptmx" (scope "/dev/ptmx"))) + ;; Setup the container's /dev/console by bind mounting the pseudo-terminal ;; associated with standard input when there is one. (let* ((in (current-input-port)) |