diff options
author | Ross Burton <ross.burton@intel.com> | 2016-11-03 17:57:08 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-06 23:35:23 +0000 |
commit | 58de12eaaac9c60bb8fc84a3a965ef86d2a39ae0 (patch) | |
tree | 234dc1156800f02e416cfe2e3d8fdfb0f47825b4 /scripts/lib/recipetool/create_kernel.py | |
parent | 371345c0dc49bf781c27aea1e9f6a4c947fa30e6 (diff) | |
download | openembedded-core-58de12eaaac9c60bb8fc84a3a965ef86d2a39ae0.tar.gz openembedded-core-58de12eaaac9c60bb8fc84a3a965ef86d2a39ae0.tar.bz2 openembedded-core-58de12eaaac9c60bb8fc84a3a965ef86d2a39ae0.zip |
distro_check: partial rewrite to make it work again
This library suffered as part of the Python 2 to Python 3 migration and stopped
working entirely.
Fix all the migration problems such as files being treated as strings but opened
in binary mode, insufficient use of with on files, and so on.
Rewrite large amounts to be Pythonic instead of C-in-Python.
Update OpenSuse and Fedora URLs.
Fedora now splits the archive alphabetically so handle that.
[ YOCTO #10562 ]
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/recipetool/create_kernel.py')
0 files changed, 0 insertions, 0 deletions