[OE-core] [PATCH] shared-mime-info: fix ordering of PACKAGES

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Sat Nov 19 15:02:49 UTC 2011


2011/11/18 Paul Eggleton <paul.eggleton at linux.intel.com>

> On Friday 18 November 2011 15:28:28 Frans Meulenbroeks wrote:
> > Is ordering of PACKAGES relevant? If so, please enlighten me why.
>
> It is. The packaging code reads this in order and the first package to
> match a
> file is the package that the file will go into; thus if you want to add a
> package that will include files that would normally be in one of the
> default
> packages you need to prepend to PACKAGES so that your new package gets the
> files first.
>
> Ah, ok. understood.
Not fully sure if the current behaviour is the most desirable one.
Is it still possible to put a file into two packages by explicitly adding
it to both?

Also it might be somewhat confusing that a line that adds say a dir to a
package does not necessarily get all fies in that dir in the package
Personally I think I prefer to have all added in that case, irrespective if
a previous package already took a file from it.
Alternately it could be seen as a QA issue if a file could have been added
to two packages (in which case a more strict pattern should have been used
somewhere)

Frans
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20111119/07b95afd/attachment-0002.html>


More information about the Openembedded-core mailing list