Hello,
After migration to poky 2.0 there is a problem with SDK creation for custom
cmake app.
Cmake install line is:
install(TARGETS flashcreator DESTINATION sbin)
Here is a recipe (without SRC URI):
SECTION = "libs"
LICENSE = "CLOSED"
PR = "r1"
S = "${WORKDIR}/git"
DEPENDS = "libxml2"
RDEPENDS_${PN} = "libxml2"
inherit cmake
BBCLASSEXTEND = "native nativesdk"
In yocto 2.0 it is not possible to create SDK with this app:
ERROR: QA Issue: nativesdk-net-bootcreator: Files/directories were installed
but not shipped in any package:
/opt
/opt/poky
/opt/poky/2.0
/opt/poky/2.0/sysroots
/opt/poky/2.0/sysroots/i686-pokysdk-linux
/opt/poky/2.0/sysroots/i686-pokysdk-linux/usr
/opt/poky/2.0/sysroots/i686-pokysdk-linux/usr/sbin
/opt/poky/2.0/sysroots/i686-pokysdk-linux/usr/sbin/netbootcreator
/opt/poky/2.0/sysroots/i686-pokysdk-linux/usr/sbin/.debug
/opt/poky/2.0/sysroots/i686-pokysdk-linux/usr/sbin/.debug/netbootcreator
Please set FILES such that these items are packaged. Alternatively if they are
unneeded, avoid installing them or delete them within do_install.
nativesdk-net-bootcreator: 10 installed and not shipped files.
[installed-vs-shipped]
>From bitbake conf file it seem that /usr/sbin directory is under FILES filter.
Adding FILES_${PN} += "${sbin}/*} did not helped.
If I change cmake to install in /usr/bin all is working fine.
Does this behavior is somehow expected?
Regards,
Marcin Krzeminski
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto