Oohhh I see, socketcan is your recipe, excuse me for my mistake. Andres and Burton are right, you need to install that file, eg:
do_install() { install -d "${D}${sysconfdir}/init.d/" install -m 600 "${S}/can_if" "${D}${sysconfdir}/init.d/can_if" } Change the second line to point to proper can_if file :) 2016-07-06 10:11 GMT-03:00 Daniel. <danielhi...@gmail.com>: > Isn't "libsocketcan" instead of only "socketcan"!? > > Regards, > > 2016-07-06 6:45 GMT-03:00 Burton, Ross <ross.bur...@intel.com>: >> >> On 6 July 2016 at 10:39, Anders Darander <and...@chargestorm.se> wrote: >>> >>> > CONFFILES_${PN} += "${sysconfdir}/init.d/can_if" >>> >>> If this is the complete recipe, you never install can_if... >> >> >> Which means the package is empty, which means it doesn't get generated, >> which explains why you can't add it to an image. >> >> Ross >> >> -- >> _______________________________________________ >> yocto mailing list >> yocto@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/yocto >> > > > > -- > "Do or do not. There is no try" > Yoda Master -- "Do or do not. There is no try" Yoda Master -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto