commit
ace01f2fc7
|
@ -51,6 +51,10 @@ on_chroot() {
|
||||||
if ! mount | grep -q `realpath ${ROOTFS_DIR}/dev`; then
|
if ! mount | grep -q `realpath ${ROOTFS_DIR}/dev`; then
|
||||||
mount --bind /dev ${ROOTFS_DIR}/dev
|
mount --bind /dev ${ROOTFS_DIR}/dev
|
||||||
fi
|
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
|
if ! mount | grep -q `realpath ${ROOTFS_DIR}/sys`; then
|
||||||
mount --bind /sys ${ROOTFS_DIR}/sys
|
mount --bind /sys ${ROOTFS_DIR}/sys
|
||||||
|
|
Loading…
Reference in New Issue
Block a user