|
@@ -35,9 +35,9 @@ VARIANTS='mesh'
|
35
|
35
|
|
36
|
36
|
# change these versions at your peril. Things will often crash if you don't
|
37
|
37
|
# have specifically the correct versions
|
38
|
|
-NODEJS_VERSION='7.10.0'
|
|
38
|
+NODEJS_VERSION='6.10.1'
|
39
|
39
|
NODEJS_N_VERSION='2.1.7'
|
40
|
|
-NPM_VERSION='4.2.0'
|
|
40
|
+NPM_VERSION='4.0.5'
|
41
|
41
|
|
42
|
42
|
# This file keeps track of the apps needing nodejs
|
43
|
43
|
# so that it can be removed if tere are no apps which need it
|
|
@@ -47,8 +47,8 @@ function mesh_install_nodejs {
|
47
|
47
|
# Note: this has to be jessie for now
|
48
|
48
|
wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key > ${rootdir}/root/node.gpg.key
|
49
|
49
|
chroot "${rootdir}" apt-key add /root/node.gpg.key
|
50
|
|
- echo "deb https://deb.nodesource.com/node_7.x jessie main" > ${rootdir}/etc/apt/sources.list.d/nodesource.list
|
51
|
|
- echo "deb-src https://deb.nodesource.com/node_7.x jessie main" >> ${rootdir}/etc/apt/sources.list.d/nodesource.list
|
|
50
|
+ echo "deb https://deb.nodesource.com/node_6.x jessie main" > ${rootdir}/etc/apt/sources.list.d/nodesource.list
|
|
51
|
+ echo "deb-src https://deb.nodesource.com/node_6.x jessie main" >> ${rootdir}/etc/apt/sources.list.d/nodesource.list
|
52
|
52
|
chroot "${rootdir}" apt-get update
|
53
|
53
|
chroot "${rootdir}" apt-get -yq install nodejs curl
|
54
|
54
|
|
|
@@ -152,8 +152,8 @@ function install_nodejs {
|
152
|
152
|
# Note: this has to be jessie for now
|
153
|
153
|
wget -qO- https://deb.nodesource.com/gpgkey/nodesource.gpg.key > /root/node.gpg.key
|
154
|
154
|
apt-key add /root/node.gpg.key
|
155
|
|
- echo "deb https://deb.nodesource.com/node_7.x jessie main" > /etc/apt/sources.list.d/nodesource.list
|
156
|
|
- echo "deb-src https://deb.nodesource.com/node_7.x jessie main" >> /etc/apt/sources.list.d/nodesource.list
|
|
155
|
+ echo "deb https://deb.nodesource.com/node_6.x jessie main" > /etc/apt/sources.list.d/nodesource.list
|
|
156
|
+ echo "deb-src https://deb.nodesource.com/node_6.x jessie main" >> /etc/apt/sources.list.d/nodesource.list
|
157
|
157
|
|
158
|
158
|
apt-get update
|
159
|
159
|
|