]> code.ossystems Code Review - openembedded-core.git/commit
package_deb.bbclass/package_ipk.bbclass: sort RPROVIDES
authorRobert Yang <liezhi.yang@windriver.com>
Mon, 18 Jul 2016 03:32:46 +0000 (20:32 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Jul 2016 22:46:59 +0000 (23:46 +0100)
commit3506172d7d9f8d92362b6ebb75582b7c3e662dae
treefd480fcdd562fbe5e70c63eb25d9dca8c6d5f180
parentc92152e521a9f96a741eccd4a4bf5ddfbd59a7ae
package_deb.bbclass/package_ipk.bbclass: sort RPROVIDES

The dict.fromkeys() creates a dict without order, there might be a
problem when build the same recipe again, for example:

- First build of make:
  Provides: es-translation, make-locale
- Second build of acl:
  Provides: make-locale, es-translation

They are exactly the same Provides, but tools like "diff" doesn't think
so. Sort RPROVIDES will fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/package_deb.bbclass
meta/classes/package_ipk.bbclass