summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorroot2010-08-12 20:28:16 +0200
committerroot2010-08-12 20:28:16 +0200
commit5001dd2910e0662bbd1fe655c52d58246556dec8 (patch)
tree63a3a7389e3346446f44ff0bb7e4c02a945cef0b /inc
parent.. we have working packages :) (diff)
downloadbroot-5001dd2910e0662bbd1fe655c52d58246556dec8.tar.gz
broot-5001dd2910e0662bbd1fe655c52d58246556dec8.tar.xz
broot-5001dd2910e0662bbd1fe655c52d58246556dec8.zip
bugfix
Diffstat (limited to 'inc')
-rw-r--r--inc/helper.inc.sh1
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
}