diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-06-14 11:16:00 +1200 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-07-11 11:02:42 +1200 |
commit | 0ed0525ff740fec46f5e3d80534595f14447227a (patch) | |
tree | fe8cb13332456a9740ffaf4cdf1e2f8534bda0f5 /meta/recipes-devtools/docbook-utils | |
parent | 5238d497c238a7629b3fa3dfc32cf0b52dc79980 (diff) | |
download | openembedded-core-contrib-0ed0525ff740fec46f5e3d80534595f14447227a.tar.gz |
lib/oe/patch: handle encoding differences in patch files
With Python 3, the encoding of a file is significant; several recipes in
OE-Core have patches which are not fully utf-8 decodable e.g. man,
lrzsz, and gstreamer1.0-libav, leading to errors when using devtool's
modify, upgrade or extract subcommands on these recipes. To work around
this, try reading the patch file as utf-8 first and if that fails try
latin-1 before giving up.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/docbook-utils')
0 files changed, 0 insertions, 0 deletions