On Thu, Mar 29, 2012 at 12:35 PM, Robert P. J. Day <[email protected]> wrote: > On Thu, 29 Mar 2012, Eric Bénard wrote: > >> Le Thu, 29 Mar 2012 15:23:20 -0400 (EDT), >> "Robert P. J. Day" <[email protected]> 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 _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
