[OE-core] proper use of CORE_IMAGE_EXTRA_INSTALL?
Robert P. J. Day
rpjday at crashcourse.ca
Tue Jun 19 17:05:35 UTC 2012
followup to earlier post, it's easy enough to see the point of this
code from core-image.bbclass:
... snip ...
CORE_IMAGE_BASE_INSTALL = '\
task-core-boot \
task-base-extended \
\
${CORE_IMAGE_EXTRA_INSTALL} \
'
CORE_IMAGE_EXTRA_INSTALL ?= ""
IMAGE_INSTALL ?= "${CORE_IMAGE_BASE_INSTALL}"
... snip ...
but i can see this snippet from
meta/recipes-graphics/images/core-image-gtk-directfb.bb:
... snip ...
inherit core-image
IMAGE_INSTALL += "\
${CORE_IMAGE_BASE_INSTALL} \
task-core-basic \
task-core-gtk-directfb-base \
"
... snip ...
now this would seem to be exactly what the variable
CORE_IMAGE_EXTRA_INSTALL was invented for, no? certainly the above
will work but then what's the point of having
CORE_IMAGE_EXTRA_INSTALL?
however, if one used that, it's obvious that one would leave the
line "inherit core-image" to near the bottom of the .bb file, but
returning to my earlier question, what is the proper ordering of
setting CORE_IMAGE_EXTRA_INSTALL and inheriting core-image. it's
clear "inherit core-image" would always work *after*, but what about
before?
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
More information about the Openembedded-core
mailing list