aboutsummaryrefslogtreecommitdiffstats
path: root/meta/site
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-06-14 11:16:00 +1200
committerPaul Eggleton <paul.eggleton@linux.intel.com>2016-07-11 11:02:42 +1200
commit0ed0525ff740fec46f5e3d80534595f14447227a (patch)
treefe8cb13332456a9740ffaf4cdf1e2f8534bda0f5 /meta/site
parent5238d497c238a7629b3fa3dfc32cf0b52dc79980 (diff)
downloadopenembedded-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/site')
0 files changed, 0 insertions, 0 deletions