If you are trying to run a script or deploy a program to the edge board, you do not always need to redeploy the rauc bundle. The following steps outline how to deploy and run the program code:
- Within Eclipse, save your code, then build and install the project.
- If using a VM, connect to Filezilla or plug in a USB drive.
- Navigate to the projects 'Debug' folder within your file transfer, and transfer the program file to the '/tmp' directory of your SCADAPack.
- Once the tranfer is complete, you can now SSH into the edge board --> navigate to the '/tmp' folder --> provide permission to the file:
chmod +x <filename>
- You will now be able to execute the program. Note: Unlike the service, the code will only run once and only when executed; it will not automatically run on power up.