It should be enough that the automatic use of metadata-transfer is
documented in the man page, and allows us to avoid showing a useless
warning in common usage scenarios.
return 1
if options.update and 'metadata-transfer' not in settings.features:
- writemsg_level("ecachegen: warning: " + \
- "automatically enabling FEATURES=metadata-transfer\n",
- level=logging.WARNING, noiselevel=-1)
settings.features.add('metadata-transfer')
if options.update:
var_cache_edb = os.path.join(eprefix, "var", "cache", "edb")
features = []
- features.append("metadata-transfer")
if not portage.process.sandbox_capable:
features.append("-sandbox")