Hi, This might be related to bug 9138 (https://bugzilla.yoctoproject.org/show_bug.cgi?id=9138 ) so the bbappend order might not be the expected one.
--Daniel -----Original Message----- From: openembedded-core-boun...@lists.openembedded.org [mailto:openembedded-core-boun...@lists.openembedded.org] On Behalf Of Radzykewycz, T (Radzy) Sent: Thursday, February 25, 2016 01:12 To: Paul Eggleton <paul.eggle...@linux.intel.com> Cc: Christopher Larson <clar...@kergoth.com>; openembedded-core@lists.openembedded.org Subject: Re: [OE-core] what is the priority of wildcarded .bbappend files? ________________________________________ On Wednesday, February 24, 2016 3:02 PM, Paul Eggleton said: > On Wed, 24 Feb 2016 22:59:13 Radzykewycz, T wrote: > > On Wednesday, February 24, 2016 2:52 PM, Paul Eggleton said: > > > On Wed, 24 Feb 2016 16:33:04 Robert P. J. Day wrote: > > > > Quoting Christopher Larson <clar...@kergoth.com>: > > > > > All appends that apply to a given recipe will be applied to > > > > > that recipe. > > > > > Order is determined solely by layer priority. > > > > > > > > > wait ... so *all* bbappend files that match a recipe will be applied? > > > > > > > > i'm embarrassed that i didn't know that, is that mentioned in > > > > the documentation somewhere? > > > > > > Surprisingly we don't currently state this explicitly, though it's > > > implied. We should work this into the relevant part of the bitbake > > > manual and the "Using .bbappend Files" section of the dev manual. > > > Scott could you add that to your todo list? > > > > If there is any way to determine the order that the bbappend files > > are included, that would be helpful. As well as determining what > > order patches will be applied (which is, I suspect, determined in > > part by what order the bbappend files are included).. > > bitbake-layers show-appends will give you the former. Patches get > applied strictly in the order they appear in SRC_URI, if you have > bbappends that append or prepend that variable that will of course > influence that, but the final value and hence the order should be > visible through bitbake -e recipename > | less and then search for ^SRC_URI (along with history of how the > | value came > to be). I suggest this might be put into the SRC_URI section at https://www.yoctoproject.org/docs/1.6/bitbake-user-manual/bitbake-user-manual.html#var-SECTION and worded something like this (at the end): The order of patch application follows the order that the patch files are included in the final SRC_URI value. So patches in prepended SRC_URI additions are put before other patches that might be contained in the base bb file or in other bbappend files, and must not generate differences that prevent subsequent patches from applying. I'm not tied to any particular location in the docs, though, so if it should go elsewhere, that's fine with me. Enjoy! -- radzy -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core