Hello Everyone,
I'm new to the Victron GX device and am starting a journey to create some custom SW for it. I've been experimenting with delivering some dummy content to the device in the form of an update file and have hit a snag. The sw-description specification for my script seems to be bad, but according to any examples I can find, it looks correct:
sw-description:
software = { venus-version = "20200906142058 v2.60"; version = "0.1.0"; files: ( { filename = "dummy.txt"; path = "/data/dummy.txt"; } ); scripts: ( { filename = "dummy.sh"; type = "shellscript"; } ); }
I get the following error upon install:
2020-12-10 18:48:30.761547500 Version 0.1.0 2020-12-10 18:48:30.762287500 [NOTIFY] : SWUPDATE running : [parse_scripts] : Found Script: dummy.sh 2020-12-10 18:48:30.763127500 2020-12-10 18:48:30.763808500 [NOTIFY] : SWUPDATE running : [parse_files] : Found File : dummy.txt --> /data/dummy.txt (ROOTFS) 2020-12-10 18:48:30.767148500 2020-12-10 18:48:30.767420500 ERROR core/parser.c : parse : 95 : feature 'shellscript' required for script 'dummy.sh' in sw-description is absent! 2020-12-10 18:48:30.769409500 [NOTIFY] : SWUPDATE failed [0] ERROR core/parser.c : parse : 95 : feature 'shellscript' required for script 'dummy.sh' in sw-description is absent! 2020-12-10 18:48:30.775105500 ERROR core/swupdate.c : install_from_file : 311 : failed to parse sw-description! 2020-12-10 18:48:30.777870500 2020-12-10 18:48:30.778062500 [NOTIFY] : SWUPDATE failed [0] ERROR core/swupdate.c : install_from_file : 311 : failed to parse sw-description!
I think I'm doing what it says is required. Any ideas?
Thanks.