[yocto] where to put IMAGE_INSTALL??

Jim Abernathy jfabernathy at gmail.com
Thu Jan 12 10:52:49 PST 2012


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




More information about the yocto mailing list