summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/crumbs/builder.py
diff options
context:
space:
mode:
authorCristiana Voicu <cristiana.voicu@intel.com>2012-11-26 09:42:36 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-11-26 20:57:30 +0000
commit73b9f64357f03da95c5d4b4d0d56ff1bb1e3ff0d (patch)
tree80e061dda4e56d54a6774182d14237f53b4a8f80 /bitbake/lib/bb/ui/crumbs/builder.py
parentc6dc0b976776b94ba92a7be6d69ac3fe605eff2a (diff)
downloadpoky-73b9f64357f03da95c5d4b4d0d56ff1bb1e3ff0d.tar.gz
bitbake: hob: make some layers non removable
- there are some layers which cannot be removed; so ,I have used a new variable called BBLAYERS_NON_REMOVABLE located in bblayers.conf, which contains those layers which cannot be deleted - "meta-hob" layer is added to this variable in hob code, like it's added to BBLAYERS var [YOCTO #3176] (Bitbake rev: 05da1621eed4c6201cd65372d229f63ea8a44b6e) Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/builder.py')
-rwxr-xr-xbitbake/lib/bb/ui/crumbs/builder.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py
index d10c681df9..2f3d6d0c6c 100755
--- a/bitbake/lib/bb/ui/crumbs/builder.py
+++ b/bitbake/lib/bb/ui/crumbs/builder.py
@@ -172,6 +172,7 @@ class Configuration:
172 # self.extra_setting/self.toolchain_build 172 # self.extra_setting/self.toolchain_build
173 # bblayers.conf 173 # bblayers.conf
174 self.layers = params["layer"].split() 174 self.layers = params["layer"].split()
175 self.layers_non_removable = params["layers_non_removable"].split()
175 self.default_task = params["default_task"] 176 self.default_task = params["default_task"]
176 177
177 # proxy settings 178 # proxy settings
@@ -1200,6 +1201,7 @@ class Builder(gtk.Window):
1200 def show_layer_selection_dialog(self): 1201 def show_layer_selection_dialog(self):
1201 dialog = LayerSelectionDialog(title = "Layers", 1202 dialog = LayerSelectionDialog(title = "Layers",
1202 layers = copy.deepcopy(self.configuration.layers), 1203 layers = copy.deepcopy(self.configuration.layers),
1204 layers_non_removable = copy.deepcopy(self.configuration.layers_non_removable),
1203 all_layers = self.parameters.all_layers, 1205 all_layers = self.parameters.all_layers,
1204 parent = self, 1206 parent = self,
1205 flags = gtk.DIALOG_MODAL 1207 flags = gtk.DIALOG_MODAL