]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
cooker/toasterui: Drop SEND_DEPENDS_TREE UI feature
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 13 May 2016 13:02:56 +0000 (14:02 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 13 May 2016 21:05:10 +0000 (22:05 +0100)
Now the event is sent unconditionally we can drop this feature
as its no longer needed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/cooker.py
lib/bb/ui/toasterui.py

index fe6fc99c1fbf8e69c942aeffcd7ef0c2ff3ada99..5b76b4d20d1aa1af6f7ced2ec1ff9b1835c07079 100644 (file)
@@ -93,7 +93,7 @@ class SkippedPackage:
 
 
 class CookerFeatures(object):
-    _feature_list = [HOB_EXTRA_CACHES, SEND_DEPENDS_TREE, BASEDATASTORE_TRACKING, SEND_SANITYEVENTS] = range(4)
+    _feature_list = [HOB_EXTRA_CACHES, BASEDATASTORE_TRACKING, SEND_SANITYEVENTS] = range(3)
 
     def __init__(self):
         self._features=set()
@@ -360,15 +360,9 @@ class BBCooker:
                 # set our handler's event processor
                 event = EventWriter(self)       # self is the cooker here
 
-
-            # set up cooker features for this mock UI handler
-
-            # we need to write the dependency tree in the log
-            self.featureset.setFeature(CookerFeatures.SEND_DEPENDS_TREE)
             # register the log file writer as UI Handler
             bb.event.register_UIHhandler(EventLogWriteHandler())
 
-
         #
         # Copy of the data store which has been expanded.
         # Used for firing events and accessing variables where expansion needs to be accounted for
index addd5cc2faa2fc536008196c85568d26e32fe0bb..c2d41f791f329bedcec2e08d00865b750683ab0e 100644 (file)
@@ -39,7 +39,7 @@ import os
 # module properties for UI modules are read by bitbake and the contract should not be broken
 
 
-featureSet = [bb.cooker.CookerFeatures.HOB_EXTRA_CACHES, bb.cooker.CookerFeatures.SEND_DEPENDS_TREE, bb.cooker.CookerFeatures.BASEDATASTORE_TRACKING, bb.cooker.CookerFeatures.SEND_SANITYEVENTS]
+featureSet = [bb.cooker.CookerFeatures.HOB_EXTRA_CACHES, bb.cooker.CookerFeatures.BASEDATASTORE_TRACKING, bb.cooker.CookerFeatures.SEND_SANITYEVENTS]
 
 logger = logging.getLogger("ToasterLogger")
 interactive = sys.stdout.isatty()