diff options
Diffstat (limited to 'inc/helper.inc.sh')
-rw-r--r-- | inc/helper.inc.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/helper.inc.sh b/inc/helper.inc.sh index 6f63dfe..d51aac2 100644 --- a/inc/helper.inc.sh +++ b/inc/helper.inc.sh @@ -1,7 +1,7 @@ setupBindmounts() { - mount -o bind /proc $BROOT_BUILDROOT_PATH/proc - mount -t devtmpfs dev $BROOT_BUILDROOT_PATH/dev + mount -t proc proc $BROOT_BUILDROOT_PATH/proc + mount -t tmpfs dev $BROOT_BUILDROOT_PATH/dev 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 } |