NI Linux Real-Time Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Why was opkg "-cache" option removed from labview 2017?

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.

0 Kudos
Message 1 of 2
(2,297 Views)

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

 

0 Kudos
Message 2 of 2
(2,274 Views)