This commit is contained in:
Bob Mottram 2016-05-28 20:47:49 +01:00
parent 082d023799
commit 19a749c128
2 changed files with 3 additions and 2 deletions

View File

@ -191,8 +191,8 @@ configure_ssh_client
configure_monkeysphere configure_monkeysphere
if [[ $MESH_CLIENT_INSTALL == $'yes' || $MESH_CLIENT_INSTALL == $'y' || $MESH_CLIENT_INSTALL == $'on' ]]; then if [[ $MESH_CLIENT_INSTALL == $'yes' || $MESH_CLIENT_INSTALL == $'y' || $MESH_CLIENT_INSTALL == $'on' ]]; then
echo $'Installing mesh packages' echo $'Installing mesh packages'
${PROJECT_NAME}-mesh-install -f mesh_tox_node sudo ${PROJECT_NAME}-mesh-install -f mesh_tox_node
${PROJECT_NAME}-mesh-install -f mesh_tox_client sudo ${PROJECT_NAME}-mesh-install -f mesh_tox_client
${PROJECT_NAME}-mesh-install -f qtox ${PROJECT_NAME}-mesh-install -f qtox
${PROJECT_NAME}-mesh-install -f batman_client ${PROJECT_NAME}-mesh-install -f batman_client
fi fi

View File

@ -488,6 +488,7 @@ function mesh_tox_node {
$CHROOT_PREFIX apt-get -y install libsodium13 libsodium-dev libcap2-bin $CHROOT_PREFIX apt-get -y install libsodium13 libsodium-dev libcap2-bin
$CHROOT_PREFIX apt-get -y install libconfig9 libconfig-dev $CHROOT_PREFIX apt-get -y install libconfig9 libconfig-dev
$CHROOT_PREFIX mkdir -p $INSTALL_DIR
$CHROOT_PREFIX git_clone $TOXCORE_REPO $INSTALL_DIR/toxcore $CHROOT_PREFIX git_clone $TOXCORE_REPO $INSTALL_DIR/toxcore
$CHROOT_PREFIX cd $INSTALL_DIR/toxcore $CHROOT_PREFIX cd $INSTALL_DIR/toxcore
$CHROOT_PREFIX git checkout $TOXCORE_COMMIT -b $TOXCORE_COMMIT $CHROOT_PREFIX git checkout $TOXCORE_COMMIT -b $TOXCORE_COMMIT