diff options
| -rwxr-xr-x | bitbake/lib/bb/ui/crumbs/builder.py | 6 | ||||
| -rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/builder.py b/bitbake/lib/bb/ui/crumbs/builder.py index d5df60f602..8571014afc 100755 --- a/bitbake/lib/bb/ui/crumbs/builder.py +++ b/bitbake/lib/bb/ui/crumbs/builder.py | |||
| @@ -191,7 +191,7 @@ class Configuration: | |||
| 191 | self.split_proxy("socks", params["socks_proxy"]) | 191 | self.split_proxy("socks", params["socks_proxy"]) |
| 192 | self.split_proxy("cvs", params["cvs_proxy_host"] + ":" + params["cvs_proxy_port"]) | 192 | self.split_proxy("cvs", params["cvs_proxy_host"] + ":" + params["cvs_proxy_port"]) |
| 193 | 193 | ||
| 194 | def save(self, handler, template, defaults=False): | 194 | def save(self, handler, defaults=False): |
| 195 | # bblayers.conf | 195 | # bblayers.conf |
| 196 | handler.set_var_in_file("BBLAYERS", self.layers, "bblayers.conf") | 196 | handler.set_var_in_file("BBLAYERS", self.layers, "bblayers.conf") |
| 197 | # local.conf | 197 | # local.conf |
| @@ -1229,7 +1229,7 @@ class Builder(gtk.Window): | |||
| 1229 | settings_changed = False | 1229 | settings_changed = False |
| 1230 | if response == gtk.RESPONSE_YES: | 1230 | if response == gtk.RESPONSE_YES: |
| 1231 | self.configuration = dialog.configuration | 1231 | self.configuration = dialog.configuration |
| 1232 | self.save_defaults() # remember settings | 1232 | self.configuration.save(self.handler, True) # remember settings |
| 1233 | settings_changed = dialog.settings_changed | 1233 | settings_changed = dialog.settings_changed |
| 1234 | dialog.destroy() | 1234 | dialog.destroy() |
| 1235 | return response == gtk.RESPONSE_YES, settings_changed | 1235 | return response == gtk.RESPONSE_YES, settings_changed |
| @@ -1257,7 +1257,7 @@ class Builder(gtk.Window): | |||
| 1257 | settings_changed = False | 1257 | settings_changed = False |
| 1258 | if response == gtk.RESPONSE_YES: | 1258 | if response == gtk.RESPONSE_YES: |
| 1259 | self.configuration = dialog.configuration | 1259 | self.configuration = dialog.configuration |
| 1260 | self.save_defaults() # remember settings | 1260 | self.configuration.save(self.handler, True) # remember settings |
| 1261 | settings_changed = dialog.settings_changed | 1261 | settings_changed = dialog.settings_changed |
| 1262 | if dialog.proxy_settings_changed: | 1262 | if dialog.proxy_settings_changed: |
| 1263 | self.set_user_config_proxies() | 1263 | self.set_user_config_proxies() |
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py index 1b9596f9b0..8788083d5c 100644 --- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py +++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py | |||
| @@ -146,7 +146,9 @@ class HobHandler(gobject.GObject): | |||
| 146 | elif next_command == self.SUB_MATCH_CLASS: | 146 | elif next_command == self.SUB_MATCH_CLASS: |
| 147 | self.runCommand(["findFilesMatchingInDir", "rootfs_", "classes"]) | 147 | self.runCommand(["findFilesMatchingInDir", "rootfs_", "classes"]) |
| 148 | elif next_command == self.SUB_PARSE_CONFIG: | 148 | elif next_command == self.SUB_PARSE_CONFIG: |
| 149 | self.runCommand(["enableDataTracking"]) | ||
| 149 | self.runCommand(["parseConfigurationFiles", "conf/.hob.conf", ""]) | 150 | self.runCommand(["parseConfigurationFiles", "conf/.hob.conf", ""]) |
| 151 | self.runCommand(["disableDataTracking"]) | ||
| 150 | elif next_command == self.SUB_GNERATE_TGTS: | 152 | elif next_command == self.SUB_GNERATE_TGTS: |
| 151 | self.runCommand(["generateTargetsTree", "classes/image.bbclass", []]) | 153 | self.runCommand(["generateTargetsTree", "classes/image.bbclass", []]) |
| 152 | elif next_command == self.SUB_GENERATE_PKGINFO: | 154 | elif next_command == self.SUB_GENERATE_PKGINFO: |
