summaryrefslogtreecommitdiff
path: root/scripts/combo-layer
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2015-03-12 08:27:43 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-20 11:03:09 +0000
commitc575ff183ae5c35e0f7e8d90c222994574ce73c9 (patch)
tree9483d8571a33096d9c5061f24397cfc5b2a55640 /scripts/combo-layer
parenta51b37f4db6b144386d1bd5789ec91acc78a0bd8 (diff)
downloadopenembedded-core-c575ff183ae5c35e0f7e8d90c222994574ce73c9.tar.gz
openembedded-core-c575ff183ae5c35e0f7e8d90c222994574ce73c9.tar.bz2
openembedded-core-c575ff183ae5c35e0f7e8d90c222994574ce73c9.zip
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@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/combo-layer')
-rwxr-xr-xscripts/combo-layer1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/combo-layer b/scripts/combo-layer
index 8db5d7e376..8ed9be8f37 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"]