[oe-commits] Patrick Ohly : combo-layer: update() also instance property
git at git.openembedded.org
git at git.openembedded.org
Fri Mar 20 11:10:07 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: c575ff183ae5c35e0f7e8d90c222994574ce73c9
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=c575ff183ae5c35e0f7e8d90c222994574ce73c9
Author: Patrick Ohly <patrick.ohly at intel.com>
Date: Thu Mar 12 08:27:43 2015 +0100
combo-layer: update() also instance property
The Configuration class mirrors all properties in local hashes.
When updating the configuration, also update these properties
to remain consistent.
Signed-off-by: Patrick Ohly <patrick.ohly at intel.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
scripts/combo-layer | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/combo-layer b/scripts/combo-layer
index 8db5d7e..8ed9be8 100755
--- a/scripts/combo-layer
+++ b/scripts/combo-layer
@@ -130,6 +130,7 @@ class Configuration(object):
parser.set(section, option, value)
with open(conffile, "w") as f:
parser.write(f)
+ self.repos[repo][option] = value
def sanity_check(self, initmode=False):
required_options=["src_uri", "local_repo_dir", "dest_dir", "last_revision"]
More information about the Openembedded-commits
mailing list