blob: 383d31d44420c57555bd76a1a4f90b80b3490613 (
plain) (
tree)
|
|
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 $@
}
|