Deb Update
If you have a deb package to be installed on the device, then deb_update is the right way to do it. The example on Github page shows how to install a deb package on the device. There are four files mentioned in the example.
- deb_update.sh - It installs the specified deb package on the device.
- apt-src_0.25.3_all.deb - In the example, we try to install this deb package.
- update.sh - This is the wrapper script for deb_update.sh
- make_firmware_update.sh - This creates the update tar file, that needs to be uploaded on the Bytebeam cloud.
Firstly on your Linux system, we need to create an update tar file for Raspberry Pi. For that, Download all the files mentioned above from GitHub. Next, we need to change the permissions for all these files using chmod command
Next, run make_firmware_update.sh to create a tar.gz file.
Next, we need to upload the tar to bytebeam cloud. For that go to the device management panel and navigate to the Firmware Versions tab. Then click on Upload New Firmware
Under the Firmware version tab, you will find an option to create a firmware version number and upload your updated tar file.
Enter the new Firmware version number and click on choose file to upload tar file. Then click on Create.
Now let's proceed with our OTA update. For that, Go to the Device Management panel and select the device
Next, Click on the update firmware
In the next prompt choose the firmware version and click on next