[yocto] where to put IMAGE_INSTALL??
Jim Abernathy
jfabernathy at gmail.com
Thu Jan 12 05:28:31 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 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
More information about the yocto
mailing list