diff options
author | root | 2010-08-12 20:28:16 +0200 |
---|---|---|
committer | root | 2010-08-12 20:28:16 +0200 |
commit | 5001dd2910e0662bbd1fe655c52d58246556dec8 (patch) | |
tree | 63a3a7389e3346446f44ff0bb7e4c02a945cef0b | |
parent | .. we have working packages :) (diff) | |
download | broot-5001dd2910e0662bbd1fe655c52d58246556dec8.tar.gz broot-5001dd2910e0662bbd1fe655c52d58246556dec8.tar.xz broot-5001dd2910e0662bbd1fe655c52d58246556dec8.zip |
bugfix
-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 } |