Mount /dev/pts in chroot
Mounting /dev/pts fixes mildly irritating errors during image creation, i.e.: "Can not write log, openpty() failed (/dev/pts not mounted?)" emitted by apt-get. Change-Id: I4106bc584f1b29ce9283a20064bb5ae447f17fbe
This commit is contained in:
parent
21a81d8b79
commit
0a5d3a9446
@ -273,6 +273,7 @@ function mount_proc_dev_sys () {
|
||||
# supporting kernel file systems
|
||||
sudo mount -t proc none $TMP_MOUNT_PATH/proc
|
||||
sudo mount --bind /dev $TMP_MOUNT_PATH/dev
|
||||
sudo mount --bind /dev/pts $TMP_MOUNT_PATH/dev/pts
|
||||
sudo mount -t sysfs none $TMP_MOUNT_PATH/sys
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user