Is there a way to join a beta/nightly release cycle with the pre-built Raspberry Pi OS image?
We don’t really do beta/nightly builds.
You can pull the git repository on whatever frequency you like. You can enable ssh on the RPi and then ssh into the board and cd ~/mozilla-iot/gateway
You may need to install git (on later images, its installed by default). If you need to install it, use:
sudo apt install git
Then from within the ~/mozilla-opt/gateway directory you can issue the command:
git pull
and that will update you to the latest version as of the time of the pull.
That’s a nice idea though…
Hi I issued the command git pull but I get “fatal: Not a git repository (or any of the parent directories): .git” error what am I doing wrong ?
It looks like our recent releases no longer include the .git directory.
Probably the simplest thing to do is:
cd ~/mozilla-iot
mv gateway gateway-save
git clone https://github.com/mozilla-iot/gateway
cd gateway
npm install
Now you’ll be able to go into ~/mozilla-iot/gateway and do git pull
to update to the latest.
Note that you should run npm install
after each git pull
just in case the dependencies changed.
I do not believe so. Program is not designed to run on those machines.