https transport needed for nodejs install

This commit is contained in:
Bob Mottram 2017-10-13 20:22:12 +01:00
parent 146d88d3cf
commit be43cf38a3
1 changed files with 2 additions and 1 deletions

View File

@ -69,8 +69,9 @@ function mesh_install_nodejs {
mesh_install_nodejs_prefix="chroot $rootdir" mesh_install_nodejs_prefix="chroot $rootdir"
fi fi
$mesh_install_nodejs_prefix apt-get -qy install wget curl g++ m4 libtool automake $mesh_install_nodejs_prefix apt-get -yq install wget curl g++ m4 libtool automake
$mesh_install_nodejs_prefix apt-get -yq install libxext-dev libxtst-dev libxkbfile-dev $mesh_install_nodejs_prefix apt-get -yq install libxext-dev libxtst-dev libxkbfile-dev
$mesh_install_nodejs_prefix apt-get -yq install apt-transport-https
$mesh_install_nodejs_prefix wget https://deb.nodesource.com/gpgkey/nodesource.gpg.key -O /root/node.gpg.key $mesh_install_nodejs_prefix wget https://deb.nodesource.com/gpgkey/nodesource.gpg.key -O /root/node.gpg.key
if [ ! -f $rootdir/root/node.gpg.key ]; then if [ ! -f $rootdir/root/node.gpg.key ]; then
echo $'Unable to obtain gpg key for nodejs repo' echo $'Unable to obtain gpg key for nodejs repo'