diff --git a/bitbake/lib/bb/ui/crumbs/hig.py b/bitbake/lib/bb/ui/crumbs/hig.py index 6b46a6212a..652226c13f 100644 --- a/bitbake/lib/bb/ui/crumbs/hig.py +++ b/bitbake/lib/bb/ui/crumbs/hig.py @@ -886,7 +886,7 @@ class LayerSelectionDialog (CrumbsDialog): # Trailing slashes are uncommon in bblayers.conf but confuse os.path.basename path.rstrip('/') name = os.path.basename(path) - if name == "meta": + if name == "meta" or name == "meta-hob": cell.set_sensitive(False) cell.set_property('pixbuf', None) cell.set_property('mode', gtk.CELL_RENDERER_MODE_INERT) @@ -907,6 +907,8 @@ class LayerSelectionDialog (CrumbsDialog): name = os.path.basename(path) if name == "meta": cell.set_property('markup', "Core layer for images: it cannot be removed\n%s" % path) + elif name == "meta-hob": + cell.set_property('markup', "Core layer for Hob: it cannot be removed\n%s" % path) else: cell.set_property('text', path)