Skip to content

Commit 5a4dd9e

Browse files
committed
update node installing scripts
1 parent 5a87df0 commit 5a4dd9e

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

mytonctrl/scripts/upgrade.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ COLOR='\033[92m'
2929
ENDC='\033[0m'
3030

3131
# Установить дополнительные зависимости
32-
apt-get install -y libsecp256k1-dev libsodium-dev ninja-build fio rocksdb-tools liblz4-dev libjemalloc-dev
32+
apt-get install -y libsecp256k1-dev libsodium-dev ninja-build fio rocksdb-tools liblz4-dev libjemalloc-dev automake libtool
3333

3434
# bugfix if the files are in the wrong place
3535
wget "https://ton-blockchain.github.io/global.config.json" -O global.config.json
@@ -67,6 +67,10 @@ ls -A1 | xargs rm -rf
6767
echo "https://github.com/${author}/${repo}.git -> ${branch}"
6868
git clone --recursive https://github.com/${author}/${repo}.git .
6969
git checkout ${branch}
70+
71+
git submodule sync --recursive
72+
git submodule update
73+
7074
export CC=/usr/bin/clang
7175
export CXX=/usr/bin/clang++
7276
export CCACHE_DISABLE=1

scripts/ton_installer.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ if [ "$OSTYPE" == "linux-gnu" ]; then
5555
elif [ -f /etc/debian_version ]; then
5656
echo "Ubuntu/Debian Linux detected."
5757
apt-get update
58-
apt-get install -y build-essential curl git cmake clang libgflags-dev zlib1g-dev libssl-dev libreadline-dev libmicrohttpd-dev pkg-config libgsl-dev python3 python3-dev python3-pip libsecp256k1-dev libsodium-dev liblz4-dev libjemalloc-dev
58+
apt-get install -y build-essential curl git cmake clang libgflags-dev zlib1g-dev libssl-dev libreadline-dev libmicrohttpd-dev pkg-config libgsl-dev python3 python3-dev python3-pip libsecp256k1-dev libsodium-dev liblz4-dev libjemalloc-dev automake libtool
5959

6060
# Install ninja
6161
apt-get install -y ninja-build
@@ -118,6 +118,9 @@ if [ "${ton_node_version}" != "master" ]; then
118118
cd ../
119119
fi
120120

121+
git submodule sync --recursive
122+
git submodule update
123+
121124
git config --global --add safe.directory $SOURCES_DIR/ton
122125

123126
# Подготавливаем папки для компиляции

0 commit comments

Comments
 (0)