diff options
Diffstat (limited to 'pym/portage/const.py')
-rw-r--r-- | pym/portage/const.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pym/portage/const.py b/pym/portage/const.py index 5c738e431..37abb1650 100644 --- a/pym/portage/const.py +++ b/pym/portage/const.py @@ -164,6 +164,7 @@ _ENABLE_DYN_LINK_MAP = True _ENABLE_PRESERVE_LIBS = True _ENABLE_REPO_NAME_WARN = True _ENABLE_SET_CONFIG = True +_ENABLE_XATTR = True _SANDBOX_COMPAT_LEVEL = "22" @@ -177,3 +178,8 @@ if not _ENABLE_PRESERVE_LIBS: if not _ENABLE_SET_CONFIG: WORLD_SETS_FILE = '/dev/null' + +if not _ENABLE_XATTR: + SUPPORTED_FEATURES = set(SUPPORTED_FEATURES) + SUPPORTED_FEATURES.remove("xattr") + SUPPORTED_FEATURES = frozenset(SUPPORTED_FEATURES) |