Re: should all "IMAGE_INSTALL +=" become "IMAGE_INSTALL_append"?

Jeremy Puhlman

I was looking at th 1.6 version of the document, and the 5.2.1 section
is 3.2.1 in the 3.0 version. The section is about modifying images from the
local.conf, so my comments are still the same. You need it to modify an image
from the local.conf, but += is more appropriate in an actual image recipe.

On 2/13/2020 9:48 AM, Robert P. J. Day wrote:
On Thu, 13 Feb 2020, Jeremy A. Puhlman wrote:

You are referring to section 5.2.1 if I am not correct, not 3.2.1?
no, section 3.2.1 in current git version of YP development tasks
manual. that manual doesn't even have a section 5. we better make sure
we're looking at the same manual.

The context is important here. 5.2.1 is discussing using the
variable as part of your local.conf. Which is a different animal
then adding it to an image recipe. In local.conf you really need
_append to for it to even take effect, where its more correct and
natural in my opinion to use += in bb since it provides more
flexibility to alter the recipe with out using too much magic.
Jeremy A. Puhlman

Join to automatically receive all group messages.