From 5001dd2910e0662bbd1fe655c52d58246556dec8 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 12 Aug 2010 20:28:16 +0200 Subject: bugfix --- inc/helper.inc.sh | 1 + 1 file changed, 1 insertion(+) 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 } -- cgit v1.2.3-55-g7522