diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-08-31 15:28:46 +1200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-08 00:36:48 +0100 |
commit | 94aefd9a39c688f34cfb0c9ef003de74d754f0e4 (patch) | |
tree | 66547285ac960c8b04132cc7a3953708a42d598b /scripts/oe-build-perf-test | |
parent | ead05456264e9c7c32819271562d0ac074ecaee3 (diff) | |
download | poky-94aefd9a39c688f34cfb0c9ef003de74d754f0e4.tar.gz |
lib/oe/patch: handle non-UTF8 encoding when reading patches
When extracting patches from a git repository with PATCHTOOL = "git" we
cannot assume that all patches will be UTF-8 formatted, so as with other
places in this module, try latin-1 if utf-8 fails.
This fixes UnicodeDecodeError running devtool update-recipe or devtool
finish on the openssl recipe.
(From OE-Core rev: 579e4d54a212d04cfece2c9fc0635d7ac1644058)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-build-perf-test')
0 files changed, 0 insertions, 0 deletions