[oe] should indent recipe use "${prefix}" instead of "/usr"?

Robert P. J. Day rpjday at crashcourse.ca
Wed Mar 18 12:13:20 UTC 2020


On Wed, 18 Mar 2020, Ross Burton wrote:

> On 18/03/2020 11:00, Robert P. J. Day wrote:
> >    never scared to look silly, but i just did a sample build (randomly
> > chose qemuarm64 MACHINE), added:
> >
> >    IMAGE_FEATURES += "doc-pkgs"
> >    RM_WORK_EXCLUDE = "indent"
> >
> > to local.conf, then ran:
> >
> >    $ bitbake indent
> >
> > to look at everything that was generated as part of the "indent" build
> > and how it was packaged, to understand what that:
>
> Much easier way:
>
> $ oe-pkgdata-util list-pkg-files -p indent
>
> >    FILES_${PN}-doc += "/usr/doc/indent/indent.html"
> >
> > line is doing in indent_2.2.12.bb, and maybe i'm misreading what was
> > produced, but the only documentation content produced and bundled
> > into the indent-doc rpm package was:
> >
> >    $ rpm -qpl indent-doc-2.2.12-r0.aarch64.rpm
> >    /usr
> >    /usr/share
> >    /usr/share/man
> >    /usr/share/man/man1
> >    /usr/share/man/man1/indent.1
> >    $
> >
> > so i'm confused as to that line's purpose ... thoughts?
>
> Historical, maybe.  If that line doesn't serve any purpose, delete
> it.

  will do ... just nervous when something *looks* too obvious. thanks
for the guidance.

rday


More information about the Openembedded-devel mailing list