diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2012-03-29 20:01:16 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-29 21:25:53 +0100 |
commit | a8c03230341644b1a2589f89ff40fdfb382534e8 (patch) | |
tree | d2edf1794859e5d26b4849d359586b87c8cde582 /bitbake/lib/bb/ui/crumbs/hobeventhandler.py | |
parent | e24f10e275e30caa06a5f97b742be1a0996255d7 (diff) | |
download | poky-a8c03230341644b1a2589f89ff40fdfb382534e8.tar.gz |
Hob: Remember user settings when reparse config
When config reparse is issued (e.x, adding a layer), we will firstly
remember the past user settings by setting them to bitbake server,
and then do the reparse.
(Bitbake rev: 8a1f6953a082d8002585bfd9e8a67d2a7f69d6aa)
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/crumbs/hobeventhandler.py')
-rw-r--r-- | bitbake/lib/bb/ui/crumbs/hobeventhandler.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py index e5e0b4243d..11444ad459 100644 --- a/bitbake/lib/bb/ui/crumbs/hobeventhandler.py +++ b/bitbake/lib/bb/ui/crumbs/hobeventhandler.py | |||
@@ -243,11 +243,9 @@ class HobHandler(gobject.GObject): | |||
243 | self.commands_async.append(self.SUB_PARSE_CONFIG) | 243 | self.commands_async.append(self.SUB_PARSE_CONFIG) |
244 | self.run_next_command(self.PARSE_CONFIG) | 244 | self.run_next_command(self.PARSE_CONFIG) |
245 | 245 | ||
246 | def refresh_layers(self, bblayers): | 246 | def parse_generate_configuration(self): |
247 | self.init_cooker() | 247 | self.commands_async.append(self.SUB_PARSE_CONFIG) |
248 | self.set_bblayers(bblayers) | 248 | self.generate_configuration() |
249 | self.commands_async.append(self.SUB_PARSE_CONFIG) | ||
250 | self.generate_configuration() | ||
251 | 249 | ||
252 | def set_extra_inherit(self, bbclass): | 250 | def set_extra_inherit(self, bbclass): |
253 | inherits = self.server.runCommand(["getVariable", "INHERIT"]) or "" | 251 | inherits = self.server.runCommand(["getVariable", "INHERIT"]) or "" |