blob: 00c19157bf1554348e2d4648f13c3b503e28f80b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
setupBindmounts() {
mount -o bind /proc $BROOT_BUILDROOT_PATH/proc
mount -t devtmpfs dev $BROOT_BUILDROOT_PATH/dev
chroot $BROOT_BUILDROOT_PATH mount -t devpts devpts /dev/pts
}
destroyBindmounts() {
umount $BROOT_BUILDROOT_PATH/proc
umount $BROOT_BUILDROOT_PATH/dev/pts
umount $BROOT_BUILDROOT_PATH/dev
umount /tmp/deb
}
|