__slots__ = ("actionmap", "phase", "settings")
+ # FEATURES displayed prior to setup phase
+ _features_display = ("ccache", "distcc", "fakeroot",
+ "installsources", "keeptemp", "keepwork", "nostrip",
+ "preserve-libs", "sandbox", "selinux", "sesandbox",
+ "splitdebug", "suidctl", "test", "userpriv",
+ "usersandbox")
+
def _start(self):
need_builddir = self.phase not in EbuildProcess._phases_without_builddir
msg.append("Repository: %s" % self.settings['PORTAGE_REPO_NAME'])
if maint_str:
msg.append("Maintainer: %s" % maint_str)
- msg.append("USE: %s" % use)
+ msg.append("USE: %s" % use)
+ relevant_features = []
+ enabled_features = self.settings.features
+ for x in self._features_display:
+ if x in enabled_features:
+ relevant_features.append(x)
+ if relevant_features:
+ msg.append("FEATURES: %s" % " ".join(relevant_features))
self._elog('einfo', msg)
if self.phase == 'package':