summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python
Commit message (Collapse)AuthorAgeFilesLines
* python3-setuptools-scm: fix upstream version checkAlexander Kanavin2020-12-091-0/+2
| | | | | | | (From OE-Core rev: 56030191e7b1f9c30f25f7f0d67c1ba6ae17c99f) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: upgrade 5.41.3 -> 5.41.4Tim Orling2020-11-301-1/+1
| | | | | | | | | | | | | | | | | Upstream release notes: """ 5.41.4 - 2020-11-28 This patch fixes issue #2657, where passing unicode patterns compiled with re.IGNORECASE to from_regex() could trigger an internal error when casefolding a character creates a longer string (e.g. "\u0130".lower() -> "i\u0370"). """ (From OE-Core rev: 20985457e3c063be4479eb927afae5d1a2018777) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-sortedcontainers: move from meta-pythonTim Orling2020-11-301-0/+9
| | | | | | | | | | | | Sorted Containers is an Apache2 licensed sorted collections library, written in pure-Python, and fast as C-extensions. * Part of the dependency chain for python3-numpy ptest (From OE-Core rev: 14c436769012c3f44401178a2c59cbd0a5eb86ce) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-hypothesis: move from meta-pythonTim Orling2020-11-301-0/+14
| | | | | | | | | | | A library for property-based testing * Part of the dependency chain for python3-numpy ptest (From OE-Core rev: 476a7534498f1e12efc7cc00cf215f6af898527d) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytest: RDEPENDS on python3-tomlTim Orling2020-11-301-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The generated requires.txt in pytest-*-py3.9.egg-info shows the requirement. Caught during ptest of python3-wcwidth: Signed-off-byROR collecting tests/test_core.py ______________________ tests/test_core.py:4: in <module> import pkg_resources ../../python3.9/site-packages/pkg_resources/__init__.py:3239: in <module> def _initialize_master_working_set(): ../../python3.9/site-packages/pkg_resources/__init__.py:3222: in _call_aside f(*args, **kwargs) ../../python3.9/site-packages/pkg_resources/__init__.py:3251: in _initialize_master_working_set working_set = WorkingSet._build_master() ../../python3.9/site-packages/pkg_resources/__init__.py:567: in _build_master ws.require(__requires__) ../../python3.9/site-packages/pkg_resources/__init__.py:884: in require needed = self.resolve(parse_requirements(requirements)) ../../python3.9/site-packages/pkg_resources/__init__.py:770: in resolve raise DistributionNotFound(req, requirers) E pkg_resources.DistributionNotFound: The 'toml' distribution was not found and is required by pytest (From OE-Core rev: 8e2ec368e4c8fe7594bc178fffe42fbb8ac632e7) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-importlib-metadata: upgrade 2.0.0 to 3.1.0Tim Orling2020-11-301-3/+3
| | | | | | | | | | | | | | | | | | | | | | | Upstream release notes: " v3.1.0 Merge with 2.1.0. v2.1.0 #253: When querying for package metadata, the lookup now honors package normalization rules. v3.0.0 Require Python 3.6 or later. " (From OE-Core rev: e6be2a1dbf1743edb1bfa97a91d87e5f7ab2d555) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-more-itertools: upgrade 8.5.0 -> 8.6.0Tim Orling2020-11-301-4/+3
| | | | | | | | | | | | | | | | | | | | | | | Upstream release notes: " * New itertools - all_unique (thanks to brianmaissy) - nth_product and nth_permutation (thanks to N8Brooks) * Changes to existing itertools - chunked and sliced now accept a strict parameter (thanks to shlomif and jtwool) * Other changes - Python 3.5 has reached its end of life and is no longer supported. - Python 3.9 is officially supported. - Various documentation fixes (thanks to timgates42) (From OE-Core rev: 16c211427056a4bfc3545202ea485247a72c832a) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pytest: move from meta-pythonTim Orling2020-11-302-0/+77
| | | | | | | | | Simple powerful testing with python (From OE-Core rev: 3299ddeab5eb32a21efaee63c2b7f490089b8476) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pluggy: move from meta-pythonTim Orling2020-11-302-0/+30
| | | | | | | | | | | Plugin and hook calling mechanisms for python * Part of the dependency chain for pytest (From OE-Core rev: 7b1f4345009973d3fcb8fc1e8fc212ce92de8015) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-importlib-metadata: move from meta-pythonTim Orling2020-11-301-0/+18
| | | | | | | | | | | Read metadata from Python packages * Part of the dependency chain for pytest (From OE-Core rev: a054b48fc7827256cbe64492c3cc83692f80346d) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-zipp: move from meta-pythonTim Orling2020-11-301-0/+19
| | | | | | | | | | | Backport of pathlib-compatible object wrapper for zip files * Part of the dependency chain for pytest (From OE-Core rev: 8167b5bfa65dc2be422a892334d44e6edf861450) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-wcwidth: move from meta-pythonTim Orling2020-11-302-0/+28
| | | | | | | | | | | Library for bulding powerful interactive command lines in Python * Part of the dependency chain for pytest (From OE-Core rev: e7b8f091733cb163a0fffed265c6d88b5f0cfae2) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-packaging: move from meta-pythonTim Orling2020-11-301-0/+14
| | | | | | | | | | | Core utilities for Python packages * Part of the dependency chain for pytest (From OE-Core rev: c1aa2915bb16d7db4ade38b0cf107917aab09644) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools-scm: move from meta-pythonTim Orling2020-11-301-0/+21
| | | | | | | | | | | The blessed package to manage your versions by scm tags * Part of the dependency chain for pytest (From OE-Core rev: 875c12f55ea34dbda6b11756d226ac09dfb282df) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-py: move from meta-pythonTim Orling2020-11-301-0/+15
| | | | | | | | | | | Library with cross-pythonpath, ini-parsing, io, code, log facilities * Part of the dependency chain for pytest (From OE-Core rev: 7990c78d14ad1862e4c9147f657c10e492cdf8b1) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-toml: move from meta-pythonTim Orling2020-11-301-0/+15
| | | | | | | | | | | Python Library for Tom's Obvious, Minimimal Language * Part of the dependency chain for pytest (From OE-Core rev: 3ec8796a318f535d21aca1d36b7f813452648418) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pathlib2: move from meta-pythonTim Orling2020-11-301-0/+13
| | | | | | | | | | | Object-oriented filesystem paths * Part of the dependency chain for pytest (From OE-Core rev: 9544e2f79ec5d4b4250689cc970ecfdc86520212) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-more-itertools: move from meta-pythonTim Orling2020-11-302-0/+27
| | | | | | | | | | | More routines for operating on iterables, beyond itertools * Part of the dependency chain for pytest (From OE-Core rev: 8d125296b5c57d0076f9f3e6c3d50b5a6ab95de0) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-iniconfig: move from meta-pythonTim Orling2020-11-301-0/+9
| | | | | | | | | | | A small and simple INI-file parser module * Part of the dependency chain for pytest (From OE-Core rev: 67c3f0f78e793aff31789d2e1861a88a1090820d) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-attrs: move from meta-pythonTim Orling2020-11-301-0/+20
| | | | | | | | | | | Classes Without Boilerplate * Part of the dependency chain for pytest (From OE-Core rev: e96e24ed35a087b5a44172161a93717627d79f49) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-atomicwrites: move from meta-pythonTim Orling2020-11-302-0/+28
| | | | | | | | | | | Powerful Python library for atomic file writes * Part of the dependency chain for python3-pytest (From OE-Core rev: 5b0b24882d061d2d1ada5c53c1837fc502974447) Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pycryptodome: upgrade 3.9.8 -> 3.9.9Joshua Watt2020-11-242-5/+5
| | | | | | | (From OE-Core rev: 1e6529950257ab13b4c6c36d706ef294e61b883b) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: add CVE-2007-4559 to whitelistRoss Burton2020-11-241-0/+2
| | | | | | | | | | This issue describes expected behaviour, do not use tarfile with untrusted data. (From OE-Core rev: f4c22e83f2e68ff157da5ea1303acc2931d63f5f) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: whitelist CVE-2020-15523Lee Chee Yang2020-11-241-0/+3
| | | | | | | | | | | | This CVE is issue on _Py_CheckPython3 uses uninitialized dllpath when embedder sets module path with Py_SetPath. Since it is .dll issue (on windows only), hence whitelist it. https://bugs.python.org/issue29778 (From OE-Core rev: 4ceb08bfe6c6dca486040f39d58b285c37d3bc91) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: fix CVE-2020-27619Lee Chee Yang2020-11-242-0/+70
| | | | | | | (From OE-Core rev: ad6b184b5a87b8bcdd5e28f19be841a78f5e51df) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pycryptodomex: upgrade 3.9.8 -> 3.9.9Joshua Watt2020-11-181-1/+1
| | | | | | | (From OE-Core rev: cf3305eb2d1d8cf38fdbcb75cd50fa523fbce006) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pycairo: use python3targetconfigAlexander Kanavin2020-11-161-1/+1
| | | | | | | (From OE-Core rev: dadf001c85938b831def8da5851a40dc0977e3d0) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Update manifestAlejandro Hernandez Samaniego2020-11-111-26/+9
| | | | | | | | | | | | | Update the python3-manifest to match the files installed by the new version of python3. - Kept tkinter the way it was although tk isnt part of OE-Core - Made typing part of python3-core - Update other packages with new dependencies such as filecmp and dataclasses. (From OE-Core rev: 5933d7bae8103eaad5b204438704ea04ebc0d291) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Enable lto if its in DISTRO_FEATURESKhem Raj2020-11-111-1/+5
| | | | | | | | | | | | | python3 configure compiles on object file and then greps for strings in it for endianness for target ,when using LTO the .o files are not nomal ELF onjects so this test fails, since we are using --enable-lto to enable this here we dont need to inject extra paths via bitbake anyway therefore reset LTO variable for target (From OE-Core rev: 2ccaa99871af8cb5b41e12a619e1bfbea4ca6f33) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: upgrade 49.6.0 -> 50.3.2Alexander Kanavin2020-11-032-5/+5
| | | | | | | (From OE-Core rev: f563777a1db24665223de246375df35285ba780a) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygments: upgrade 2.6.1 -> 2.7.2Alexander Kanavin2020-11-031-3/+2
| | | | | | | | License-Update: copyright years (From OE-Core rev: 6d0fde1ca6127efdbbbbb8822f4f57f767782bdf) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pyelftools: upgrade 0.26 -> 0.27Alexander Kanavin2020-11-031-2/+1
| | | | | | | (From OE-Core rev: 61c32e90aaa95a10c0827cb8adb9d0cc397e0904) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-git: upgrade 3.1.7 -> 3.1.11Alexander Kanavin2020-11-031-1/+1
| | | | | | | (From OE-Core rev: 4861630f014ddb011f2cdbe3dbf156685ad259da) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python: update 3.8.5 -> 3.9.0Alexander Kanavin2020-10-3012-357/+73
| | | | | | | | | | | | | | | | | Drop 0001-Do-not-hardcode-lib-as-location-for-site-packages-an.patch, 0001-configure.ac-fix-LIBPL.patch and 0001-python3-Do-not-hardcode-lib-for-distutils.patch as they are all replaced by the new --platlibdir option to ./configure Rename 0001-Lib-sysconfig.py-fix-another-place-where-lib-is-hard.patch to 0001-Lib-sysconfig.py-use-libdir-values-from-configuratio.patch and describe the changes better. License-Update: documentation now dual license under PSF & BSD (not relevant for the recipe. (From OE-Core rev: 7347556b18b45c5f9afc2cade565a75c95876914) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pygobject: upgrade 3.36.1 -> 3.38.0Alexander Kanavin2020-10-301-3/+2
| | | | | | | (From OE-Core rev: 475134563c4a2a50972a6e4fb8e5546d4c05b2c4) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pycairo: upgrade 1.19.1 -> 1.20.0zangrc2020-10-301-2/+2
| | | | | | | (From OE-Core rev: 96095adebc9fa622aa92cfd933b6c4b280df3e2e) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: fix upstream version checkAlexander Kanavin2020-10-201-0/+1
| | | | | | | (From OE-Core rev: c8a6512b36e12f48d8713c5c3b48d83a431c8191) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: add/fix invalid Upstream-Status tagsRoss Burton2020-09-231-1/+1
| | | | | | | (From OE-Core rev: 630ce8130598e2bca7231ac28a7cc18b5b942544) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-jinja2: Import from meta-oe/meta-pythonRichard Purdie2020-09-212-0/+48
| | | | | | | | | | | | | | This is used by some of the results handling code and needed as part of buildtools tarball on various autobuilder worker for testing. ptest is disabled for OE-Core, at least for now since it depends on python3-pytest which in turn has may other dependencies. Acked-by: Tim Orling <ticotimo@gmail.com> (From OE-Core rev: 9d30a3b95ef4dce8925f88c8d8d854ed48c5f367) Signed-off-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-markupsafe: Import from meta-oe/meta-pythonRichard Purdie2020-09-212-0/+31
| | | | | | | | | | | | Needed as a dependency of python3-jinja2. ptest is disabled for OE-Core, at least for now since it depends on python3-pytest which in turn has may other dependencies. Acked-by: Tim Orling <ticotimo@gmail.com> (From OE-Core rev: 94a04a42826ee95a27abe52d43b31b0f053260d9) Signed-off-by: Tim Orling <ticotimo@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: upgrade 49.3.1 -> 49.6.0Alexander Kanavin2020-08-252-6/+4
| | | | | | | (From OE-Core rev: b5ba50890d2ddac27bb4065b6e1694a6cd7abd89) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: update to 49.3.1Oleksandr Kravchuk2020-08-131-1/+1
| | | | | | | (From OE-Core rev: a2abc8cfd9aedcd541443d02a8dcc28de711c2ba) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-manifest.json: UpdatesNathan Rossi2020-08-111-18/+48
| | | | | | | | | | | | | | | | | - Regenerate using create_manifest - Fix up some indentation compared to generated - Add "secrets" module into netclient package (introduced in 3.6) - Move "urllib" python package into core package, it is used more commonly than just netclient (e.g. email, xml, mimetypes, pydoc) - Update compression package dependencies due to some modules moving into core package - Update dependencies due to improvements to get_module_deps handling modules of a python package (e.g. ctypes.utils) (From OE-Core rev: 892a8fb85a986a65e9ebef368ddab15068fb6d92) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: Improve handling of python3 manifest generationNathan Rossi2020-08-112-3/+19
| | | | | | | | | | | | | | | | | | | | | Specifically cover detection of modules within a python package that do not import anything within their __init__.py. This is at least the case with the xmlrpc package which is only used via its modules xmlrpc.server and xmlrpc.client. Other important corner cases include ctypes.utils which depends on some modules not used by ctypes. This is implemented by generally assuming that importing all the modules of a package (aka *.py within a package, excluding _*.py) will provide enough information. Also due to this change some modules import sysconfig, resulting in sysconfigdata being imported. Handle the conversion of its path to a wildcard based on the platform dependent name being replaced. (From OE-Core rev: bef4be54e02df5f230d250487f85994a3b7bbd77) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: Upgrade 49.2.0 -> 49.2.1zangrc2020-08-081-1/+1
| | | | | | | (From OE-Core rev: 4dfd58e189598ce3b9d14528b1e9d443dbc97926) Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3: update to 3.8.5Oleksandr Kravchuk2020-07-271-2/+2
| | | | | | | (From OE-Core rev: ce7ac226336fe1e578fd0959567c95c4ac957f85) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-setuptools: update to 49.2.0Oleksandr Kravchuk2020-07-273-15/+16
| | | | | | | | | | Rebased patch and got rid of the .inc file as Python 2 is not supported anymore. (From OE-Core rev: ff3d9a2966e6593be9ac048d930fc841c24eae7d) Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "python3: define a profile directory path"Mingli Yu2020-07-252-43/+0
| | | | | | | | | | | | | | After ccache upgrade to 3.7.11, there is below logic introduced. 58895dc Add knowledge about -fprofile-{correction,reorder-functions,values} And the python3 ccache build issue [1] is fixed in ccache 3.7.11, so there is no need to define a profile directory path for python3 any more. [1] https://github.com/ccache/ccache/issues/615 (From OE-Core rev: 6cd08bdf72c05982ba000b1186cf139382679e04) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pycryptodome: upgrade 3.9.7 -> 3.9.8Joshua Watt2020-07-182-5/+5
| | | | | | | (From OE-Core rev: ed38de1509206508be8798e35217375112a1ee42) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python3-pycryptodomex: upgrade 3.9.7 -> 3.9.8Joshua Watt2020-07-181-1/+1
| | | | | | | (From OE-Core rev: 7dcfa97245a4e9a6f38c731f87b51c2a0235ef94) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>