2
0
Lauri Ojansivu 6 жил өмнө
parent
commit
9c94ea58b4
1 өөрчлөгдсөн 8 нэмэгдсэн , 7 устгасан
  1. 8 7
      snapcraft.yaml

+ 8 - 7
snapcraft.yaml

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