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:
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:
mv gateway gateway-save
git clone https://github.com/mozilla-iot/gateway
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.