Is there a way I can ship more files when building an out of tree kernel module?
I have tried something like this:
FILES_${PN} += "${bindir}/my_program"
do_install_append() {
install -d ${D}${bindir}
install -m 0755 ${D}/my_program ${D}${bindir}/my_program
}
And like this:
FILES_kernel-module-${PN} += "${bindir}/my_program"
do_install_append() {
install -d ${D}${bindir}
install -m 0755 ${D}/my_program ${D}${bindir}/my_program
}
But still complains:
ERROR: QA Issue: my-module: Files/directories were installed but not shipped in any package:
/usr
/usr/bin
/usr/bin/my_program
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
my-module: 3 installed and not shipped files. [installed-vs-shipped]