summary refs log tree commit diff
path: root/nixos/modules/system/boot/stage-1-init.sh
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-07-06 22:54:08 +0300
committerNikolay Amiantov <ab@fmap.me>2016-07-12 22:22:28 +0300
commit90ad879753c476154e65667f8dec12cf5a6c89d4 (patch)
tree2e77cd1f2abe220507aacea1e35ef47859bfa8d4 /nixos/modules/system/boot/stage-1-init.sh
parent6e21246dc471a01fe8e8107292b5067234d20595 (diff)
downloadnixlib-90ad879753c476154e65667f8dec12cf5a6c89d4.tar
nixlib-90ad879753c476154e65667f8dec12cf5a6c89d4.tar.gz
nixlib-90ad879753c476154e65667f8dec12cf5a6c89d4.tar.bz2
nixlib-90ad879753c476154e65667f8dec12cf5a6c89d4.tar.lz
nixlib-90ad879753c476154e65667f8dec12cf5a6c89d4.tar.xz
nixlib-90ad879753c476154e65667f8dec12cf5a6c89d4.tar.zst
nixlib-90ad879753c476154e65667f8dec12cf5a6c89d4.zip
nixos stage-1: unconditionally mount /dev/pts
Diffstat (limited to 'nixos/modules/system/boot/stage-1-init.sh')
-rw-r--r--nixos/modules/system/boot/stage-1-init.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/stage-1-init.sh b/nixos/modules/system/boot/stage-1-init.sh
index 9bffcd31b9b4..055ad2e3e844 100644
--- a/nixos/modules/system/boot/stage-1-init.sh
+++ b/nixos/modules/system/boot/stage-1-init.sh
@@ -70,6 +70,8 @@ mount -t sysfs sysfs /sys
 mount -t devtmpfs -o "size=@devSize@" devtmpfs /dev
 mkdir -p /run
 mount -t tmpfs -o "mode=0755,size=@runSize@" tmpfs /run
+mkdir /dev/pts
+mount -t devpts devpts /dev/pts
 
 # Log the script output to /dev/kmsg or /run/log/stage-1-init.log.
 mkdir -p /tmp