Skip to contentSkip to conversation

hob usage

DISCUSSION Jim Abernathy 2 participants 2 messages Jan 11, 2012

lore
Share & tools
lore
#0 lore raw

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.

Jim A

#1 lore raw
Quoted 11 lines · Jim Abernathy

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:

Quoted 5 lines

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