My images, built with bitbake
, must contain different packages for different machines (say, I need to add package package1
to image for machine1
, but not for machine2
).
It is possible to add line
IMAGE_INSTALL_append_machine1 = " package1"
to the image recipe. But I do not think this is sustainable, as IMAGE_INSTALL_append_machine1
may be defined in some other recipe (which is not under my control) and the earlier definition gets overwritten with the later one. This is what I think Yocto Project Development manual warns about using IMAGE_INSTALL.
Is my concern valid? What is the proper way to write the recipe(s) in this case?