Page 1 of 1

containrization for sdrplay

Posted: Sat Dec 29, 2018 1:46 pm
by Mitchell
I want to dockerize shinysdr ( for sdrplay. So firstly I install api driver for sdrplay by exec "./" when docker build, but I failed. The reason is that I cannot accept license automatically. So can you give me some idea to install sdrplay api driver? Or how to accept license automatically. By the way, command "./ --accept" can not work.

Re: containrization for sdrplay

Posted: Wed Jan 02, 2019 5:51 pm
by nk2042

Try this, it should be ok to add sdrplay lib support in your containers:

Code: Select all


$ wget${MAJVERS}${MINVERS}.run
$ export ARCH=`arch`
$ sh ./SDRplay_RSP_API-Linux-${MAJVERS}${MINVERS}.run --tar xvf
$ cp ${ARCH}/${MAJVERS} /usr/local/lib/.
$ chmod 644 /usr/local/lib/${MAJVERS}
$ ln -s /usr/local/lib/${MAJVERS} /usr/local/lib/
$ ln -s /usr/local/lib/ /usr/local/lib/
$ cp mirsdrapi-rsp.h /usr/local/include/.
$ chmod 644 /usr/local/include/mirsdrapi-rsp.h
Hope this will help.