diff options
| author | XECDesign <XECDesign@users.noreply.github.com> | 2016-04-21 17:14:20 +0100 |
|---|---|---|
| committer | XECDesign <XECDesign@users.noreply.github.com> | 2016-04-21 17:14:20 +0100 |
| commit | ace01f2fc7c89cb07b1b642d359a7642f2f44f56 (patch) | |
| tree | 799300acf46b62947239c24ba8c548740aaef062 /scripts/common | |
| parent | 99bf2f4d61abd32e275592800c1367b8e58bb16c (diff) | |
| parent | 20f687e907a821e825b9c035e78ce997ce8114f2 (diff) | |
Merge pull request #2 from tjstyle/dev
Add missing /dev/pts
Diffstat (limited to 'scripts/common')
| -rw-r--r-- | scripts/common | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/common b/scripts/common index 8c0e914..814f37f 100644 --- a/scripts/common +++ b/scripts/common @@ -51,6 +51,10 @@ on_chroot() { if ! mount | grep -q `realpath ${ROOTFS_DIR}/dev`; then mount --bind /dev ${ROOTFS_DIR}/dev fi + + if ! mount | grep -q `realpath ${ROOTFS_DIR}/dev/pts`; then + mount --bind /dev/pts ${ROOTFS_DIR}/dev/pts + fi if ! mount | grep -q `realpath ${ROOTFS_DIR}/sys`; then mount --bind /sys ${ROOTFS_DIR}/sys |
