[yocto] hob usage

McClintock Matthew-B29882 B29882 at freescale.com
Tue Jan 10 21:29:50 PST 2012


On Tue, Jan 10, 2012 at 9:56 PM, Jim Abernathy <jfabernathy at gmail.com> wrote:
> I have a question about hob usage.  I understand the basics of hob and how
> it adds packages.  I also understand how it will parse through my local.conf
> and include any extra packages that I may have included by using
> IMAGE_INSTALL += <package>.
>
> I've found that if I start with a clean BSP and use hob to add a package, it
> will allow me to save that configuration anywhere.  I'm not sure where I
> should save it.  It contains the IMAGE_INSTALL for the packages I've
> selected, but is also includes a 'require' statement, which seems to have a
> relative path, like:
>
> require recipes-sato/images/core-image-sato.bb
>
> Where is the location I should save the hob configuration file? I know that
> if I save it outside my poky directory, the package will not be included, so
> it's important where it goes.

This is one of those quirks about hob I found weird. I filed a bug about this:

http://bugzilla.yoctoproject.org/show_bug.cgi?id=1573

In general you need to save it somewhere one of your layers looks for
additional recipes to run it from the command line.

-M



More information about the yocto mailing list