]> code.ossystems Code Review - openembedded-core.git/commit
python: don't sort the manifest in create_manifest
authorAndrew Geissler <geissonator@gmail.com>
Wed, 19 Sep 2018 16:22:27 +0000 (09:22 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 Sep 2018 15:15:19 +0000 (08:15 -0700)
commit3c62c42ebde9dd4acdc74c56160d6ce8639b497c
treea226789a942137da601cb8446e27430bb7a40067
parent44fff749ee7bfe47e88286aec1e8a22e63079ca7
python: don't sort the manifest in create_manifest

Instead of sorting the entire manifest when it is updated, use
OrderedDict to preserve the order of fields.This means that
packages can be ordered in the manifest to allow non-trivial
FILES assignments (such as a package that picks up pieces of
other packages)

The manifest has been regenerated with the new stable ordering, and
distutils-staticdev moved above distutils so the packaging rules work as
expected.

This is a backport of the same changes done by Ross Burton for python3

Changes since v1:
- Moved distutils-staticdev above distutils so packaging rules work
as expected.
Changes since v2:
- Rebase

Signed-off-by: Andrew Geissler <geissonator@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/python/python/create_manifest2.py
meta/recipes-devtools/python/python/python2-manifest.json