[OE-core] argh ... "_append" versus "+=" and IMAGE_INSTALL confusion

Chris Larson clarson at kergoth.com
Thu Mar 29 19:42:26 UTC 2012


On Thu, Mar 29, 2012 at 12:35 PM, Robert P. J. Day
<rpjday at crashcourse.ca> wrote:
> On Thu, 29 Mar 2012, Eric Bénard wrote:
>
>> Le Thu, 29 Mar 2012 15:23:20 -0400 (EDT),
>> "Robert P. J. Day" <rpjday at crashcourse.ca> a écrit :
>> >   so what is best practise here?
>> >
>> for this one you have an answer on OE's wiki :
>> http://www.openembedded.org/wiki/I_want_an_image_with_package_XYZ_installed
>
>  despite the fact that the current reference manual *explicitly*
> says this?
>
> "Using IMAGE_INSTALL with the += operator from the /conf/local.conf
> file or from within an image recipe is not recommended as it can cause
> ordering issues."
>
>  i actually did my research before i asked that question, you know.

The two aren't conflicting. The wiki page talks about creating an
image or using bbappend, where += works fine. You have to use _append
in local.conf because it's postponed, occurs at the end of the parse.
If you use += there, the recipe will then set IMAGE_INSTALL, blowing
away the global value you +='d to.
-- 
Christopher Larson




More information about the Openembedded-core mailing list