Problem adding usbip kernel package to Boot2Qt Linux image

Hello,

I am working on a Toradex-imx8 module running Boot2Qt. I followed Qt link
(link text) to build Boot2Qt version 5.15 LTS, where I successfully built the
image and SDK. Now, I am trying to add usbip kernel package to the image, but
bitbake is not able to package the compiled binaries, giving me the following
error:

ERROR: usbip-1.0-r0 do_package: QA Issue: usbip: Files/directories were
installed but not shipped in any package:
/usr/local/sbin/usbipd
/usr/local/sbin/usbip
Please set FILES such that these items are packaged. Alternatively if they are
unneeded, avoid installing them or delete them within do_install.

To get to this point i did the following:

1- sourced the SDK environment for cross-compiling (please check attached
env.txt)

2- configured and compiled the usbip package using the following commands:
$ ./autogen.sh
$ ./configure ${CONFIGURE_FLAGS}
$ make
Note:
I had to patch the source files to get the package to compile correctly.
Please check attached file (configure messages.txt, make messages.txt) for configuration and compile logs.

3-Finally, used bitbake to install and package the compiled files using this
command:
$ MACHINE=apalis-imx8 bitbake usbip

At this point, I got the bitbake error mentioned above.

I am assuming I have to make some changes to the recipe, but the strange
thing is that I successfully used this exact recipe before and was able build
usbip on another board “VAR-SOM-IMX8-MINI” from Variscite, which was
running Boot2Qt based on Sumo. What is also very strange is those binaries should be installed in /usr/sbin/ NOT in /usr/local/sbin.

What am I doing wrong here? how can I fix this problem?

Thank you very much for your support :slight_smile:

Dear @ABTrac ,

Thank you for writing to Toradex Community. As your question was already answered in Support ticket: 2021052810000051 — Problem adding usbip kernel package to Boot2Qt Linux image, I will close this question here to pave way for other questions to be answered.

Thank you for your understanding!

Best Regards
Janani.