All of lore.kernel.org
 help / color / mirror / Atom feed
* where to put IMAGE_INSTALL??
@ 2012-01-12 12:53 Jim Abernathy
  2012-01-12 13:06 ` Gary Thomas
  0 siblings, 1 reply; 4+ messages in thread
From: Jim Abernathy @ 2012-01-12 12:53 UTC (permalink / raw)
  To: Yocto Project

There seems to be some sensitivity to where I put the statement 
IMAGE_INSTALL += "web-webkit".

At first I just modifed the meta/receipes-sato/image/core-image-sato.bb 
file to include it.  That caused the webkit to be built.

Since that is not an ideal location, I removed it and put it into the 
local.conf file.  That also caused the webkit to be built, but I wanted 
it to be part of my BSP permanently.

I thought about creating a core-image-sato.bbappend file with the 
IMAGE_INSTALL += "web-webkit" in it and put that into the BSP, but that 
didn't cause the webkit to be built. Under the meta-intel/meta-n450 
directory, I created a receipes-jfa directory and put the 
core-image-sato.bbappend file there.

I must be missing a key rule about directory parsing and .bbappend files.

Jim A


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: where to put IMAGE_INSTALL??
  2012-01-12 12:53 where to put IMAGE_INSTALL?? Jim Abernathy
@ 2012-01-12 13:06 ` Gary Thomas
  2012-01-12 13:28   ` Jim Abernathy
  2012-01-12 18:52   ` Jim Abernathy
  0 siblings, 2 replies; 4+ messages in thread
From: Gary Thomas @ 2012-01-12 13:06 UTC (permalink / raw)
  To: Jim Abernathy; +Cc: Yocto Project

On 2012-01-12 05:53, Jim Abernathy wrote:
> There seems to be some sensitivity to where I put the statement IMAGE_INSTALL += "web-webkit".
>
> At first I just modifed the meta/receipes-sato/image/core-image-sato.bb file to include it. That caused the webkit to be built.
>
> Since that is not an ideal location, I removed it and put it into the local.conf file. That also caused the webkit to be built, but I wanted it to be part of my BSP permanently.
>
> I thought about creating a core-image-sato.bbappend file with the IMAGE_INSTALL += "web-webkit" in it and put that into the BSP, but that didn't cause the webkit to be built. Under
> the meta-intel/meta-n450 directory, I created a receipes-jfa directory and put the core-image-sato.bbappend file there.
>
> I must be missing a key rule about directory parsing and .bbappend files.

Look at the how the layers are parsed - this info is in <layer>/conf/layer.conf

Try putting your .bbappend file in
    .../meta-intel/meta-n450/recipes-jfa/images/core-image-sato.bbappend

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: where to put IMAGE_INSTALL??
  2012-01-12 13:06 ` Gary Thomas
@ 2012-01-12 13:28   ` Jim Abernathy
  2012-01-12 18:52   ` Jim Abernathy
  1 sibling, 0 replies; 4+ messages in thread
From: Jim Abernathy @ 2012-01-12 13:28 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Yocto Project

On 01/12/2012 08:06 AM, Gary Thomas wrote:
> On 2012-01-12 05:53, Jim Abernathy wrote:
>> There seems to be some sensitivity to where I put the statement 
>> IMAGE_INSTALL += "web-webkit".
>>
>> At first I just modifed the 
>> meta/receipes-sato/image/core-image-sato.bb file to include it. That 
>> caused the webkit to be built.
>>
>> Since that is not an ideal location, I removed it and put it into the 
>> local.conf file. That also caused the webkit to be built, but I 
>> wanted it to be part of my BSP permanently.
>>
>> I thought about creating a core-image-sato.bbappend file with the 
>> IMAGE_INSTALL += "web-webkit" in it and put that into the BSP, but 
>> that didn't cause the webkit to be built. Under
>> the meta-intel/meta-n450 directory, I created a receipes-jfa 
>> directory and put the core-image-sato.bbappend file there.
>>
>> I must be missing a key rule about directory parsing and .bbappend 
>> files.
>
> Look at the how the layers are parsed - this info is in 
> <layer>/conf/layer.conf
>
> Try putting your .bbappend file in
>    .../meta-intel/meta-n450/recipes-jfa/images/core-image-sato.bbappend
>
I think you are correct now that I look more closely at the 
meta-n450/conf/layer.conf file.

It has:
BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb \
     ${LAYERDIR}/recipes-*/*/*.bbappend"

which tells me that it will not find 
recipes-jfa/core-image-sato.bbappend, but will find 
meta-n450/recipes-jfa/images/core-image-sato.bbappend

Thanks,

JIm A


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: where to put IMAGE_INSTALL??
  2012-01-12 13:06 ` Gary Thomas
  2012-01-12 13:28   ` Jim Abernathy
@ 2012-01-12 18:52   ` Jim Abernathy
  1 sibling, 0 replies; 4+ messages in thread
From: Jim Abernathy @ 2012-01-12 18:52 UTC (permalink / raw)
  To: Gary Thomas; +Cc: Yocto Project

On 01/12/2012 08:06 AM, Gary Thomas wrote:
> On 2012-01-12 05:53, Jim Abernathy wrote:
>> There seems to be some sensitivity to where I put the statement 
>> IMAGE_INSTALL += "web-webkit".
>>
>> At first I just modifed the 
>> meta/receipes-sato/image/core-image-sato.bb file to include it. That 
>> caused the webkit to be built.
>>
>> Since that is not an ideal location, I removed it and put it into the 
>> local.conf file. That also caused the webkit to be built, but I 
>> wanted it to be part of my BSP permanently.
>>
>> I thought about creating a core-image-sato.bbappend file with the 
>> IMAGE_INSTALL += "web-webkit" in it and put that into the BSP, but 
>> that didn't cause the webkit to be built. Under
>> the meta-intel/meta-n450 directory, I created a receipes-jfa 
>> directory and put the core-image-sato.bbappend file there.
>>
>> I must be missing a key rule about directory parsing and .bbappend 
>> files.
>
> Look at the how the layers are parsed - this info is in 
> <layer>/conf/layer.conf
>
> Try putting your .bbappend file in
>    .../meta-intel/meta-n450/recipes-jfa/images/core-image-sato.bbappend
>
I just tested your method of putting the .bbappend file in the directory 
above and it work just fine.  I also found out that you should not put 
the IMAGE_INSTALL in the local.conf.  It builds okay, but the resulting 
image will not boot.  Tom pointing me the a statement in the Poky 
reference manual about not doing this as well.

JIm A



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-12 18:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-12 12:53 where to put IMAGE_INSTALL?? Jim Abernathy
2012-01-12 13:06 ` Gary Thomas
2012-01-12 13:28   ` Jim Abernathy
2012-01-12 18:52   ` Jim Abernathy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.