Don't install scuttlebot on arm
This commit is contained in:
parent
d0e2c8fd60
commit
0f405c932f
|
@ -97,7 +97,7 @@ wget https://freedombone.net/downloads/current/freedombone-meshclient-i386.img.x
|
||||||
wget https://freedombone.net/downloads/current/freedombone-meshclient-i386.img.xz.sig
|
wget https://freedombone.net/downloads/current/freedombone-meshclient-i386.img.xz.sig
|
||||||
gpg --verify freedombone-meshclient-i386.img.xz.sig
|
gpg --verify freedombone-meshclient-i386.img.xz.sig
|
||||||
sha256sum freedombone-meshclient-i386.img.xz
|
sha256sum freedombone-meshclient-i386.img.xz
|
||||||
f7e261d369d6f0ccf650dbbed18227bfe5ec427ae0b97f56e1f1e202afc6d0b3
|
995dd64538f46f6abf83ba258cca6cb82a72399cb9a099caeafc1de947ef795c
|
||||||
unxz freedombone-meshclient-i386.img.xz
|
unxz freedombone-meshclient-i386.img.xz
|
||||||
sudo dd if=/dev/zero of=/dev/sdX bs=1M count=8
|
sudo dd if=/dev/zero of=/dev/sdX bs=1M count=8
|
||||||
sudo dd bs=1M if=freedombone-meshclient-i386.img of=/dev/sdX conv=fdatasync
|
sudo dd bs=1M if=freedombone-meshclient-i386.img of=/dev/sdX conv=fdatasync
|
||||||
|
@ -113,7 +113,7 @@ wget https://freedombone.net/downloads/current/freedombone-meshclient-insecure-i
|
||||||
wget https://freedombone.net/downloads/current/freedombone-meshclient-insecure-i386.img.xz.sig
|
wget https://freedombone.net/downloads/current/freedombone-meshclient-insecure-i386.img.xz.sig
|
||||||
gpg --verify freedombone-meshclient-insecure-i386.img.xz.sig
|
gpg --verify freedombone-meshclient-insecure-i386.img.xz.sig
|
||||||
sha256sum freedombone-meshclient-insecure-i386.img.xz
|
sha256sum freedombone-meshclient-insecure-i386.img.xz
|
||||||
3bfbcaedb587c5cbddec8b9fffcd48398d9e3b97486ef49aa645357f61a0f11f
|
b06e6ff5e56577025e6b994fe0bb28f02da7d2905ac32a2f38d7d074ffe801fc
|
||||||
unxz freedombone-meshclient-insecure-i386.img.xz
|
unxz freedombone-meshclient-insecure-i386.img.xz
|
||||||
sudo dd if=/dev/zero of=/dev/sdX bs=1M count=8
|
sudo dd if=/dev/zero of=/dev/sdX bs=1M count=8
|
||||||
sudo dd bs=1M if=freedombone-meshclient-insecure-i386.img of=/dev/sdX conv=fdatasync
|
sudo dd bs=1M if=freedombone-meshclient-insecure-i386.img of=/dev/sdX conv=fdatasync
|
||||||
|
@ -130,13 +130,13 @@ The above picture shows a Beaglebone Black with the image copied onto a microSD
|
||||||
|
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
sudo apt-get install xz-utils wget
|
sudo apt-get install xz-utils wget
|
||||||
wget https://freedombone.net/downloads/v3/freedombone-mesh-3_beaglebone-armhf.img.xz
|
wget https://freedombone.net/downloads/current/freedombone-mesh_beaglebone-armhf.img.xz
|
||||||
wget https://freedombone.net/downloads/v3/freedombone-mesh-3_beaglebone-armhf.img.xz.sig
|
wget https://freedombone.net/downloads/current/freedombone-mesh_beaglebone-armhf.img.xz.sig
|
||||||
gpg --verify freedombone-mesh-3_beaglebone-armhf.img.xz.sig
|
gpg --verify freedombone-mesh_beaglebone-armhf.img.xz.sig
|
||||||
sha256sum freedombone-mesh-3_beaglebone-armhf.img.xz
|
sha256sum freedombone-mesh_beaglebone-armhf.img.xz
|
||||||
ab783ea807da1144bd076f7b43e54b5f4376ecf1ea1f86f56ac76c3469325802
|
|
||||||
unxz freedombone-mesh-3_beaglebone-armhf.img.xz
|
unxz freedombone-mesh_beaglebone-armhf.img.xz
|
||||||
sudo dd bs=1M if=freedombone-mesh-3_beaglebone-armhf.img of=/dev/sdX conv=fdatasync
|
sudo dd bs=1M if=freedombone-mesh_beaglebone-armhf.img of=/dev/sdX conv=fdatasync
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
If you have a few Beaglebone Blacks to use as routers then repeat the /dd/ command to create however many microSD cards you need.
|
If you have a few Beaglebone Blacks to use as routers then repeat the /dd/ command to create however many microSD cards you need.
|
||||||
|
|
|
@ -197,6 +197,10 @@ function remove_scuttlebot {
|
||||||
}
|
}
|
||||||
|
|
||||||
function mesh_install_scuttlebot {
|
function mesh_install_scuttlebot {
|
||||||
|
if [[ $VARIANT == "mesh" ]]; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
cat <<EOF > $rootdir/usr/bin/install_scuttlebot
|
cat <<EOF > $rootdir/usr/bin/install_scuttlebot
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
npm install -g scuttlebot@${SCUTTLEBOT_VERSION}
|
npm install -g scuttlebot@${SCUTTLEBOT_VERSION}
|
||||||
|
|
|
@ -63,6 +63,9 @@ function get_npm_arch {
|
||||||
function mesh_install_nodejs {
|
function mesh_install_nodejs {
|
||||||
mesh_install_nodejs_prefix=
|
mesh_install_nodejs_prefix=
|
||||||
if [ $rootdir ]; then
|
if [ $rootdir ]; then
|
||||||
|
if [[ $VARIANT == "mesh" ]]; then
|
||||||
|
return
|
||||||
|
fi
|
||||||
mesh_install_nodejs_prefix="chroot $rootdir"
|
mesh_install_nodejs_prefix="chroot $rootdir"
|
||||||
fi
|
fi
|
||||||
$mesh_install_nodejs_prefix apt-get -yq install g++ m4 libtool automake nodejs curl
|
$mesh_install_nodejs_prefix apt-get -yq install g++ m4 libtool automake nodejs curl
|
||||||
|
|
Loading…
Reference in New Issue