mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-11 16:09:16 +00:00
Patch version in thunderhub to prevent segfault
This commit is contained in:
parent
5e891a5cfd
commit
8b21c3b66b
|
@ -35,7 +35,7 @@ if ! skip_base_upgrades ; then
|
|||
|
||||
# Update SD card
|
||||
mkdir -p /etc/torrc.d
|
||||
|
||||
|
||||
# Create any necessary users
|
||||
useradd -m -s /bin/bash joinmarket || true
|
||||
|
||||
|
@ -840,6 +840,9 @@ if should_install_app "thunderhub" ; then
|
|||
sudo -u bitcoin mv thunderhub-* thunderhub
|
||||
cd thunderhub
|
||||
|
||||
# Patch versions
|
||||
sed -i 's/\^5.3.5/5.3.3/g' package.json || true # Fixes segfault with 5.3.5 on x86
|
||||
|
||||
sudo -u bitcoin npm install --legacy-peer-deps # --only=production # (can't build with only production)
|
||||
sudo -u bitcoin npm run build
|
||||
sudo -u bitcoin npx next telemetry disable
|
||||
|
|
|
@ -812,6 +812,9 @@ if [ "$CURRENT" != "$THUNDERHUB_VERSION" ]; then
|
|||
sudo -u bitcoin mv thunderhub-* thunderhub
|
||||
cd thunderhub
|
||||
|
||||
# Patch versions
|
||||
sed -i 's/\^5.3.5/5.3.3/g' package.json || true # Fixes segfault with 5.3.5 on x86
|
||||
|
||||
sudo -u bitcoin npm install --legacy-peer-deps # --only=production # (can't build with only production)
|
||||
sudo -u bitcoin npm run build
|
||||
sudo -u bitcoin npx next telemetry disable
|
||||
|
|
Loading…
Reference in New Issue
Block a user