Skip to content
Snippets Groups Projects
Commit 6756137f authored by Bob Mottram's avatar Bob Mottram
Browse files

Install npm in mesh image

parent 90e086eb
No related branches found
No related tags found
No related merge requests found
......@@ -564,6 +564,15 @@ INSTALLING_MESH=
install_patchwork() {
chroot "$rootdir" apt-get -yq install g++ m4 libtool automake nodejs
chroot "$rootdir" apt-get -yq install libxext-dev libxtst-dev libxkbfile-dev
wget https://www.npmjs.com/install.sh -O $rootdir/root/npm_install.sh
if [ ! -f $rootdir/root/npm_install.sh ]; then
echo $'Unable to download npm installer'
exit 8793636
fi
chroot "$rootdir" chmod +x /root/npm_install.sh
chroot "$rootdir" /root/npm_install.sh
git clone https://github.com/ssbc/patchwork $rootdir/etc/patchwork
cat <<EOF > $rootdir/usr/bin/install_patchwork
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment