[oe] [RFC] patch file location

Phil Blundell philb at gnu.org
Tue Jun 22 09:23:24 UTC 2010


On Tue, 2010-06-22 at 09:03 +0200, Frans Meulenbroeks wrote:
> Frankly speaking I have no clue at all which version of the patch will
> be used by the 2.10.1 recipe. The only ways to find out is to study
> the class code that does the patch or to actually build the package
> (in the hope it selects the patch in a deterministic way). I don't
> think it is good that if someone is debugging a problem that they
> should have such a hard time to find out what version of a file is
> actually used

See glibc_2.10.1.bb:

FILESPATHPKG =. "glibc-2.4:"

So, the answer is that it will use the version from the glibc-2.4
directory.  

I think the semantics of FILESPATHPKG are documented in the manual.  If
they're not, that is an oversight and should indeed be corrected.

> (optionally we might allow for a mechanism that allows specifying
> patches for higher level recipes; e.g. glibc_2.10.1 could look in
> glibc-2.10.1, glibc-2.10, glibc-2, glibc and files).

You can already do this with a suitable FILESPATHPKG setting, I think.

p.






More information about the Openembedded-devel mailing list