Skip to contentSkip to conversation

where to put IMAGE_INSTALL??

DISCUSSION Jim Abernathy 2 participants 4 messages Jan 12, 2012

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 10 lines · Jim Abernathy

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

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#2 lore raw
Quoted 10 lines · Gary Thomas
Quoted 9 lines · Jim Abernathy

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.

Quoted 7 lines
Quoted 1 line

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

#3 lore raw
In reply to Gary Thomas
Quoted 10 lines · Gary Thomas
Quoted 9 lines · Jim Abernathy

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.

Quoted 7 lines
Quoted 1 line

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