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