Merge "diskimage_builder: lib: common-functions: Fix options for devpts mount"
This commit is contained in:
commit
b5b9d98fa0
@ -316,7 +316,7 @@ function mount_proc_dev_sys () {
|
|||||||
# supporting kernel file systems
|
# supporting kernel file systems
|
||||||
sudo mount -t proc none $TMP_MOUNT_PATH/proc
|
sudo mount -t proc none $TMP_MOUNT_PATH/proc
|
||||||
sudo mount --bind /dev $TMP_MOUNT_PATH/dev
|
sudo mount --bind /dev $TMP_MOUNT_PATH/dev
|
||||||
sudo mount -t devpts /dev/pts $TMP_MOUNT_PATH/dev/pts
|
sudo mount -t devpts -o $(mount | grep devpts | sed 's/.*(\(.*\))/\1/') devpts $TMP_MOUNT_PATH/dev/pts
|
||||||
sudo mount -t sysfs none $TMP_MOUNT_PATH/sys
|
sudo mount -t sysfs none $TMP_MOUNT_PATH/sys
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user