analogdevicesinc / adi-kuiper-gen

Tool used to create ADI Kuiper Linux userspace images (based on Raspbian/raspberrypi.org )

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

does not include /etc/init.d/iiod

rgetz opened this issue · comments

The lines in adi_update_tools.sh look in /sys/firmware/devicetree/base/model for ADI or Zynq, and then fall back to:

if [ -f iiod/init/iiod.init ] ; then

will not work, since that file will only be there after CMAKE, since it needs to be processed by the cmake.

It's better to check on what system you are running, and then pass the right flag to the libiio cmake, so it builds it.WITH_SYSTEMD or WITH_SYSVINIT or WITH_UPSTART

Will look into it to add it to adi_update_tools script

Thanks - will close this, and follow up there...