mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-19 09:50:19 +01:00
alternative_buillds: remove x86_32
This commit is contained in:
parent
607f1ab005
commit
73910e9a46
@ -43,8 +43,7 @@ echo "Detect CPU architecture ..."
|
||||
isARM=$(uname -m | grep -c 'arm')
|
||||
isAARCH64=$(uname -m | grep -c 'aarch64')
|
||||
isX86_64=$(uname -m | grep -c 'x86_64')
|
||||
isX86_32=$(uname -m | grep -c 'i386\|i486\|i586\|i686\|i786')
|
||||
if [ ${isARM} -eq 0 ] && [ ${isAARCH64} -eq 0 ] && [ ${isX86_64} -eq 0 ] && [ ${isX86_32} -eq 0 ] ; then
|
||||
if [ ${isARM} -eq 0 ] && [ ${isAARCH64} -eq 0 ] && [ ${isX86_64} -eq 0 ] ; then
|
||||
echo "!!! FAIL !!!"
|
||||
echo "Can only build on ARM, aarch64, x86_64 or i386 not on:"
|
||||
uname -m
|
||||
@ -441,9 +440,6 @@ fi
|
||||
if [ ${isX86_64} -eq 1 ] ; then
|
||||
bitcoinOSversion="x86_64-linux-gnu"
|
||||
fi
|
||||
if [ ${isX86_32} -eq 1 ] ; then
|
||||
bitcoinOSversion="i686-pc-linux-gnu"
|
||||
fi
|
||||
bitcoinSHA256=$(grep -i "$bitcoinOSversion" SHA256SUMS.asc | cut -d " " -f1)
|
||||
|
||||
echo ""
|
||||
@ -547,10 +543,6 @@ if [ ${isX86_64} -eq 1 ] ; then
|
||||
lndOSversion="amd64"
|
||||
lndSHA256=$(grep -i "linux-$lndOSversion" manifest-v$lndVersion.txt | cut -d " " -f1)
|
||||
fi
|
||||
if [ ${isX86_32} -eq 1 ] ; then
|
||||
lndOSversion="386"
|
||||
lndSHA256=$(grep -i "linux-$lndOSversion" manifest-v$lndVersion.txt | cut -d " " -f1)
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "*** LND v${lndVersion} for ${lndOSversion} ***"
|
||||
|
@ -13,8 +13,7 @@ echo "Detecting CPU architecture ..."
|
||||
isARM=$(uname -m | grep -c 'arm')
|
||||
isAARCH64=$(uname -m | grep -c 'aarch64')
|
||||
isX86_64=$(uname -m | grep -c 'x86_64')
|
||||
isX86_32=$(uname -m | grep -c 'i386\|i486\|i586\|i686\|i786')
|
||||
if [ ${isARM} -eq 0 ] && [ ${isAARCH64} -eq 0 ] && [ ${isX86_64} -eq 0 ] && [ ${isX86_32} -eq 0 ] ; then
|
||||
if [ ${isARM} -eq 0 ] && [ ${isAARCH64} -eq 0 ] && [ ${isX86_64} -eq 0 ] ; then
|
||||
echo "!!! FAIL !!!"
|
||||
echo "Can only build on ARM, aarch64, x86_64 or i386 not on:"
|
||||
uname -m
|
||||
@ -90,9 +89,6 @@ fi
|
||||
if [ ${isX86_64} -eq 1 ] ; then
|
||||
bitcoinOSversion="x86_64-linux-gnu"
|
||||
fi
|
||||
if [ ${isX86_32} -eq 1 ] ; then
|
||||
bitcoinOSversion="i686-pc-linux-gnu"
|
||||
fi
|
||||
bitcoinSHA256=$(grep -i "$bitcoinOSversion" SHA256SUMS.asc | cut -d " " -f1)
|
||||
|
||||
echo ""
|
||||
|
@ -7,7 +7,6 @@ goVersion="1.13.3"
|
||||
isARM=$(uname -m | grep -c 'arm')
|
||||
isAARCH64=$(uname -m | grep -c 'aarch64')
|
||||
isX86_64=$(uname -m | grep -c 'x86_64')
|
||||
isX86_32=$(uname -m | grep -c 'i386\|i486\|i586\|i686\|i786')
|
||||
|
||||
# make sure go is installed
|
||||
|
||||
@ -26,9 +25,6 @@ if [ ${goInstalled} -eq 0 ];then
|
||||
if [ ${isX86_64} -eq 1 ] ; then
|
||||
goOSversion="amd64"
|
||||
fi
|
||||
if [ ${isX86_32} -eq 1 ] ; then
|
||||
goOSversion="386"
|
||||
fi
|
||||
|
||||
echo "*** Installing Go v${goVersion} for ${goOSversion} ***"
|
||||
|
||||
|
@ -26,7 +26,6 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
||||
isARM=$(uname -m | grep -c 'arm')
|
||||
isAARCH64=$(uname -m | grep -c 'aarch64')
|
||||
isX86_64=$(uname -m | grep -c 'x86_64')
|
||||
isX86_32=$(uname -m | grep -c 'i386\|i486\|i586\|i686\|i786')
|
||||
VERSION="v12.16.3"
|
||||
|
||||
# get checksums from -> https://nodejs.org/dist/vx.y.z/SHASUMS256.txt
|
||||
@ -41,9 +40,6 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
||||
elif [ ${isX86_64} -eq 1 ] ; then
|
||||
DISTRO="linux-x64"
|
||||
CHECKSUM="1956e196e3c3c8ef5f0c45db76d7c1245af4ccdda2b7ab30a57ce91d6e165caa"
|
||||
elif [ ${isX86_32} -eq 1 ] ; then
|
||||
echo "FAIL: No X86 32bit build available - will abort setup"
|
||||
exit 1
|
||||
elif [ ${#DISTRO} -eq 0 ]; then
|
||||
echo "FAIL: Was not able to determine architecture"
|
||||
exit 1
|
||||
|
Loading…
Reference in New Issue
Block a user