blob: 383d31d44420c57555bd76a1a4f90b80b3490613 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
chroot-exec () {
export HOME="/root"
if [ $(mount |grep -c $BROOT_BUILDROOT_PATH/dev) -eq 0 ]; then
setupBindmounts
else
echo "found existing mounts skipping mount setup"
fi
chroot $BROOT_BUILDROOT_PATH linux32 $@
}
chroot-aptinstall () {
export HOME="/root"
if [ $(mount |grep -c $BROOT_BUILDROOT_PATH/dev) -eq 0 ]; then
setupBindmounts
fi
chroot $BROOT_BUILDROOT_PATH linux32 apt-get install -y $@
}
|