]> code.ossystems Code Review - openembedded-core.git/commitdiff
combo-layer: fix default "update" mode
authorPatrick Ohly <patrick.ohly@intel.com>
Fri, 13 May 2016 16:56:56 +0000 (18:56 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 14 May 2016 06:26:41 +0000 (07:26 +0100)
When the "history" option is not set in the combo-layer.conf, the
intended default was to use the traditional method. Passing "True" as
default when querying the config was unintentional.

Also remove some left-over debugging code.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/combo-layer

index 92525cac14aba9ccb55bfaca80500f8da3182fcf..a0a737d6eea7c4b40ce6c764558931c727e1d0b3 100755 (executable)
@@ -641,8 +641,7 @@ def action_update(conf, args):
         history = None
         for name in repos:
             repo = conf.repos[name]
-            repo_history = repo.get('history', True)
-            logger.error('%s: %s' % (name, repo_history))
+            repo_history = repo.get('history', False)
             if history is None:
                 history = repo_history
             elif history != repo_history: