[yocto] Another in a seemingly infinite chain of errors

Luo Zhenhua-B19537 B19537 at freescale.com
Fri Jul 5 01:48:58 PDT 2013


> -----Original Message-----
> From: Paul D. DeRocco [mailto:pderocco at ix.netcom.com]
> Sent: Friday, July 05, 2013 2:20 PM
> 
> > From: Zhenhua-B19537
> >
> > FILES_${PN}_append = " xxx" should useful, xxx is the file which is
> > listed in the "were installed but not shipped" message.
> >
> > More info of FILES can be found in
> >
> https://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-
> manual.ht
> ml#var-FILES
> 
> Thanks for the quick response.
> 
> The problem is that every directory that I create in this one recipe is
> in that list, not just the files. This includes things like
> /lib/systemd/system.
[Luo Zhenhua-B19537] Seems like the similar issue as https://bugzilla.yoctoproject.org/show_bug.cgi?id=4309

> I have another recipe, which is basically the same as the hello.c example,
> except that it is a real program. It works fine without a FILES_${PN}
> variable. So what is it about my failing recipe that makes it need a
> FILES_${PN} variable? It has no do_compile, just a do_install script with
> a bunch of install and ln commands.
[Luo Zhenhua-B19537] Generally "were installed but not shipped" means those files are installed into ${D}, but not placed in any resulting package. FILES can solve it. If the folder is empty, you can remove it directly. 

> By the way, I also notice it says to use things like ${bindir} for
> standard directories. Is there a comprehensive list of these anywhere? I
> don't find them in the Yocto Dev Manual or Ref Manual.
[Luo Zhenhua-B19537] I am not sure whether such variables are documented in a unified doc, I always check it in meta/conf/bitbake.conf or "bitbake -e | grep xxx". 


Best Regards,

Zhenhua




More information about the yocto mailing list