[OE-core] [PATCH] package: ensure do_split_packages doesn't return duplicates

Burton, Ross ross.burton at intel.com
Fri Apr 8 09:16:55 UTC 2016


On 8 April 2016 at 08:01, Richard Purdie <richard.purdie at linuxfoundation.org
> wrote:

> On Thu, 2016-04-07 at 09:56 +0100, Ross Burton wrote:
> > do_split_package() constructs a list of packages that were created as
> > it
> > iterates through the files, so if multiple files go into the same
> > package then
> > the package will be repeated in the output.
> >
> > Solve this by using a set() to store the created packages so that
> > duplicates are
> > ignored.
>
> Is this order sensitive? I know PACKAGES is :(
>

The order of the output is based on the order that files are found on
disk.  I'll review the users in oe-core to verify that nothing there has
expectations on the contents beyond a list of package names.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160408/dfef38cb/attachment-0002.html>


More information about the Openembedded-core mailing list