python3: remove patch that inadvertently disables xattrs

This patch dates back to the addition of the Python 3 recipe to oe-core, and as
listxattr is never added to supports_follow_symlinks the extended attribute
support will never be enabled.

(From OE-Core rev: 9806e141e85b4e4c38eb7b45e6f2fbc2d2aed29d)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2018-09-10 14:31:22 +01:00
committed by Richard Purdie
parent 0fa20ac73b
commit 27849379a7
3 changed files with 0 additions and 19 deletions

View File

@@ -1,17 +0,0 @@
shutils should consider symlinks
-Khem
Upstream-Status: Pending
--- a/Lib/shutil.py 2013-01-29 12:31:06.926555779 -0800
+++ b/Lib/shutil.py 2013-01-29 16:31:39.097554182 -0800
@@ -132,7 +132,7 @@ def copymode(src, dst, *, follow_symlink
st = stat_func(src)
chmod_func(dst, stat.S_IMODE(st.st_mode))
-if hasattr(os, 'listxattr'):
+if hasattr(os, 'listxattr') and os.listxattr in os.supports_follow_symlinks:
def _copyxattr(src, dst, *, follow_symlinks=True):
"""Copy extended filesystem attributes from `src` to `dst`.