diff options
Diffstat (limited to 'inc/helper.inc.sh')
-rw-r--r-- | inc/helper.inc.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/helper.inc.sh b/inc/helper.inc.sh index d51aac2..5d600ea 100644 --- a/inc/helper.inc.sh +++ b/inc/helper.inc.sh @@ -2,6 +2,7 @@ setupBindmounts() { mount -t proc proc $BROOT_BUILDROOT_PATH/proc mount -t tmpfs dev $BROOT_BUILDROOT_PATH/dev + [ ! -f $BROOT_BUILDROOT_PATH/dev/pts ] && mkdir -p $BROOT_BUILDROOT_PATH/dev/pts chroot $BROOT_BUILDROOT_PATH mount -t devpts devpts /dev/pts [ "x$(cat /proc/mounts | grep -q "/tmp/deb")" == "x" ] && mount -o bind /tmp/deb $BROOT_BUILDROOT_PATH/var/cache/apt/archives } |