oresat / oresat-olaf

A pythonic CANopen application framework for all OreSat Linux boards
https://oresat-olaf.readthedocs.io/en/latest/
GNU General Public License v3.0
3 stars 2 forks source link

better update instruction files #5

Closed ryanpdx closed 2 years ago

ryanpdx commented 2 years ago

Should add more info to update instruction files.

Fields to add:

Also rename the instruction file to instructions.json. instructions.txt should still work and be consider legacy for the time being.

Example new instructions.json file:

{
   "version": 1,
    "author": "name",
    "instructions": [
        {
            "type": "DPKG_INSTALL",
            "items": ["package1.deb"]
         },
         {
            "type": "BASH_SCIPT",
            "items": ["bash_script1.sh"]
        }
    ]
}