02-13-2019 06:28 AM
opkg "help" from a crio with LVRT 15.0.0 contains:
--cache <directory> Use a package cache
but this is missing from the cRIO we upgraded to RT 17.0.2
So, what is the workaround to use package cache on an offline crio with:
- LabVIEW Real-Time 17.0.2
- NI-RIO 17.6
Btw, I already checked systemlink, even downloaded and installed it, but it just seems too big and overkill for such a small task.
I'd rather run a simple webserver on my pc instead:
- miniweb ~200kb + 1 doubleclick
vs
- systemlink.. client + server + ????Mb + ???? configuration + ???? doubleclicks + ??? time
That way, I just need to modify base-feeds.conf to point to my computer, and it works, I already tried it to successfully "opkg install ntp" on LVRT17.
But even that simple method, I dont see myself explaining it to the technicians on site who dont know anything about webserver, linux, opkg, etc.. All they want is a batch or bash file to run, which I did for them with LVRT15 using opkg -cache install.
Thank you for your help.
02-13-2019 02:12 PM
Hi,
Unfortunately, that option was removed a long time ago. There is not enough git history to figure out the reason exactly, but I believe it might be that adding feeds was considered to be a config file only operation. In your case, you could add logic to your calling script to create a *.conf file with your feed configuration, if not present (you can have as many conf files on the opkg conf directory as you want). Then your technician workflow won't change.
Hope this helps