mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 19:46:31 +01:00
fix(runtime): mount devpts for pty support
This commit is contained in:
parent
aa72935a6f
commit
2b16d6d531
2 changed files with 8 additions and 1 deletions
|
|
@ -67,7 +67,10 @@ setup_kernel_devices() {
|
|||
mount | grep ' on /sys ' &> /dev/null || (mkdir -p /sys; mount -t sysfs sysfs /sys)
|
||||
# Make /tmp a ramdisk (speeds up configure etc significantly)
|
||||
mount | grep ' on /tmp ' &> /dev/null || (mkdir -p /tmp; mount -t tmpfs tmpfs /tmp)
|
||||
mount | grep ' on /dev/pts ' &> /dev/null || (mkdir -p /dev/pts; mount -t devpts devpts /dev/pts)
|
||||
if ! mount | grep ' on /dev/pts ' &> /dev/null; then
|
||||
mkdir -p /dev/pts
|
||||
mount -t devpts devpts /dev/pts
|
||||
fi
|
||||
mount | grep ' on /dev/shm ' &> /dev/null || (mkdir -p /dev/shm; mount -t tmpfs tmpfs /dev/shm)
|
||||
|
||||
test -c /dev/console || mknod -m 666 /dev/console c 5 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue