diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2015-03-12 08:27:43 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-03-20 11:21:23 +0000 |
commit | b4326bf85aba0573ce1a406e5af824961b746bd2 (patch) | |
tree | 2cc11f520f488e85e2db64e82ec9a9d3445fe4ec | |
parent | 96b98451c4cb5afa48fe951c3cac8e7bf1618142 (diff) | |
download | poky-b4326bf85aba0573ce1a406e5af824961b746bd2.tar.gz |
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.
(From OE-Core rev: c575ff183ae5c35e0f7e8d90c222994574ce73c9)
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-x | scripts/combo-layer | 1 |
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): | |||
130 | parser.set(section, option, value) | 130 | parser.set(section, option, value) |
131 | with open(conffile, "w") as f: | 131 | with open(conffile, "w") as f: |
132 | parser.write(f) | 132 | parser.write(f) |
133 | self.repos[repo][option] = value | ||
133 | 134 | ||
134 | def sanity_check(self, initmode=False): | 135 | def sanity_check(self, initmode=False): |
135 | required_options=["src_uri", "local_repo_dir", "dest_dir", "last_revision"] | 136 | required_options=["src_uri", "local_repo_dir", "dest_dir", "last_revision"] |