Try to fix snap.

This commit is contained in:
Lauri Ojansivu 2018-08-04 16:47:21 +03:00
parent 95b21943ee
commit 9f65696fcc

View file

@ -83,7 +83,6 @@ parts:
plugin: nodejs plugin: nodejs
node-engine: 8.11.3 node-engine: 8.11.3
node-packages: node-packages:
- npm
- node-gyp - node-gyp
- node-pre-gyp - node-pre-gyp
- fibers@2.0.0 - fibers@2.0.0
@ -110,14 +109,14 @@ parts:
# Fiber.poolSize = 1e9; # Fiber.poolSize = 1e9;
# Download node version 8.11.3 that has fix included, node binary copied from Sandstorm # Download node version 8.11.3 that has fix included, node binary copied from Sandstorm
# Description at https://releases.wekan.team/node.txt # Description at https://releases.wekan.team/node.txt
echo "5263dc1c571885921179b11a1c6eb9ca82a95a89b69c15b366f885e9b5a32d66 node" >> node-SHASUMS256.txt.asc ##echo "5263dc1c571885921179b11a1c6eb9ca82a95a89b69c15b366f885e9b5a32d66 node" >> node-SHASUMS256.txt.asc
curl https://releases.wekan.team/node -o node ##curl https://releases.wekan.team/node -o node
# Verify Fibers patched node authenticity # Verify Fibers patched node authenticity
echo "Fibers 100% CPU issue patched node authenticity:" ##echo "Fibers 100% CPU issue patched node authenticity:"
grep node node-SHASUMS256.txt.asc | shasum -a 256 -c - ##grep node node-SHASUMS256.txt.asc | shasum -a 256 -c -
rm -f node-SHASUMS256.txt.asc ##rm -f node-SHASUMS256.txt.asc
chmod +x node ##chmod +x node
mv node `which node` ##mv node `which node`
# DOES NOT WORK: paxctl fix. # DOES NOT WORK: paxctl fix.
# Removed from build-packages: - paxctl # Removed from build-packages: - paxctl
#echo "Applying paxctl fix for alpine linux: https://github.com/wekan/wekan/issues/1303" #echo "Applying paxctl fix for alpine linux: https://github.com/wekan/wekan/issues/1303"