mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-23 21:18:07 +00:00
Upgrade Python to 3.7.9; Add python lzma; Use mariadb for mempool on RP4 64-bit
This commit is contained in:
parent
ae751a4e59
commit
e0c5e17966
|
@ -112,7 +112,7 @@ if ! skip_base_upgrades ; then
|
|||
$TORIFY apt-get -y install xorg chromium openbox lightdm openjdk-11-jre libevent-dev ncurses-dev
|
||||
$TORIFY apt-get -y install libudev-dev libusb-1.0-0-dev python3-venv gunicorn sqlite3 libsqlite3-dev
|
||||
$TORIFY apt-get -y install torsocks python3-requests libsystemd-dev libjpeg-dev zlib1g-dev psmisc
|
||||
$TORIFY apt-get -y install hexyl libbz2-dev
|
||||
$TORIFY apt-get -y install hexyl libbz2-dev liblzma-dev
|
||||
|
||||
# Install device specific packages
|
||||
if [ $IS_X86 = 1 ]; then
|
||||
|
@ -137,7 +137,7 @@ if ! skip_base_upgrades ; then
|
|||
|
||||
|
||||
# Update Python3 to 3.7.X
|
||||
PYTHON_VERSION=3.7.8
|
||||
PYTHON_VERSION=3.7.9
|
||||
CURRENT_PYTHON3_VERSION=$(python3 --version)
|
||||
if [[ "$CURRENT_PYTHON3_VERSION" != *"Python ${PYTHON_VERSION}"* ]]; then
|
||||
mkdir -p /opt/download
|
||||
|
|
|
@ -511,7 +511,7 @@ fi
|
|||
if [ -f /mnt/hdd/mynode/mempool/.env ]; then
|
||||
sed -i "s/VERSION=.*/VERSION=$MEMPOOL_VERSION/g" /mnt/hdd/mynode/mempool/.env
|
||||
fi
|
||||
if [ $IS_RASPI -eq 1 ]; then
|
||||
if [ $IS_RASPI -eq 1 ] && [ $IS_RASPI4_ARM64 -eq 0 ]; then
|
||||
sed -i "s|MARIA_DB_IMAGE=.*|MARIA_DB_IMAGE=hypriot/rpi-mysql:latest|g" /mnt/hdd/mynode/mempool/.env
|
||||
fi
|
||||
|
||||
|
|
|
@ -175,7 +175,7 @@ apt -y -qq install apt-transport-https ca-certificates
|
|||
apt-get -y install xorg chromium openbox lightdm openjdk-11-jre libevent-dev ncurses-dev
|
||||
apt-get -y install zlib1g-dev libudev-dev libusb-1.0-0-dev python3-venv gunicorn
|
||||
apt-get -y install sqlite3 libsqlite3-dev torsocks python3-requests libsystemd-dev
|
||||
apt-get -y install libjpeg-dev zlib1g-dev psmisc hexyl libbz2-dev
|
||||
apt-get -y install libjpeg-dev zlib1g-dev psmisc hexyl libbz2-dev liblzma-dev
|
||||
|
||||
# Install device specific packages
|
||||
if [ $IS_X86 = 1 ]; then
|
||||
|
@ -218,7 +218,7 @@ pip2 install tzupdate virtualenv pysocks redis qrcode image subprocess32
|
|||
|
||||
|
||||
# Update Python3 to 3.7.X
|
||||
PYTHON_VERSION=3.7.8
|
||||
PYTHON_VERSION=3.7.9
|
||||
CURRENT_PYTHON3_VERSION=$(python3 --version)
|
||||
if [[ "$CURRENT_PYTHON3_VERSION" != *"Python ${PYTHON_VERSION}"* ]]; then
|
||||
mkdir -p /opt/download
|
||||
|
|
Loading…
Reference in New Issue
Block a user