Merge pull request #967 from openoms/v1.4patch10

RTL update to 0.6.1beta + NodeJS  v12.14.1
This commit is contained in:
Christian Rotzoll 2020-01-09 22:41:42 +01:00 committed by GitHub
commit fde52b9095
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 5 deletions

View file

@ -24,20 +24,21 @@ if [ ${nodeJSInstalled} -eq 0 ]; then
isAARCH64=$(uname -m | grep -c 'aarch64') isAARCH64=$(uname -m | grep -c 'aarch64')
isX86_64=$(uname -m | grep -c 'x86_64') isX86_64=$(uname -m | grep -c 'x86_64')
isX86_32=$(uname -m | grep -c 'i386\|i486\|i586\|i686\|i786') isX86_32=$(uname -m | grep -c 'i386\|i486\|i586\|i686\|i786')
VERSION="v10.16.0" VERSION="v12.14.1"
# get checksums from -> https://nodejs.org/dist/vx.y.z/SHASUMS256.txt # get checksums from -> https://nodejs.org/dist/vx.y.z/SHASUMS256.txt
# https://nodejs.org/dist/v12.14.1/SHASUMS256.txt
if [ ${isARM} -eq 1 ] ; then if [ ${isARM} -eq 1 ] ; then
DISTRO="linux-armv7l" DISTRO="linux-armv7l"
CHECKSUM="3a3710722a1ce49b4c72c4af3155041cce3c4f632260ec8533be3fc7fd23f92c" CHECKSUM="ed4e625c84b877905eda4f356c8b4183c642e5ee6d59513d6329674ec23df234"
fi fi
if [ ${isAARCH64} -eq 1 ] ; then if [ ${isAARCH64} -eq 1 ] ; then
DISTRO="linux-arm64" DISTRO="linux-arm64"
CHECKSUM="ae2e74ab2f5dbff96bf0b7d8457004bf3538233916f8834740bbe2d5a35442e5" CHECKSUM="6cd28a5e6340f596aec8dbfd6720f444f011e6b9018622290a60dbd17f9baff6"
fi fi
if [ ${isX86_64} -eq 1 ] ; then if [ ${isX86_64} -eq 1 ] ; then
DISTRO="linux-x64" DISTRO="linux-x64"
CHECKSUM="1827f5b99084740234de0c506f4dd2202a696ed60f76059696747c34339b9d48" CHECKSUM="07cfcaa0aa9d0fcb6e99725408d9e0b07be03b844701588e3ab5dbc395b98e1b"
fi fi
if [ ${isX86_32} -eq 1 ] ; then if [ ${isX86_32} -eq 1 ] ; then
echo "FAIL: No X86 32bit build available - will abort setup" echo "FAIL: No X86 32bit build available - will abort setup"

View file

@ -40,7 +40,9 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
rm -r /home/admin/RTL 2>/dev/null rm -r /home/admin/RTL 2>/dev/null
git clone https://github.com/ShahanaFarooqui/RTL.git /home/admin/RTL git clone https://github.com/ShahanaFarooqui/RTL.git /home/admin/RTL
cd /home/admin/RTL cd /home/admin/RTL
git reset --hard v0.5.4 # git reset --hard v0.5.4
# from https://github.com/Ride-The-Lightning/RTL/commits/master
git checkout 917feebfa4fb583360c140e817c266649307ef72
# check if node_modles exists now # check if node_modles exists now
if [ -d "/home/admin/RTL" ]; then if [ -d "/home/admin/RTL" ]; then
echo "OK - RTL code copy looks good" echo "OK - RTL code copy looks good"