[oe-commits] Patrick Ohly : combo-layer: update() also instance property

git at git.openembedded.org git at git.openembedded.org
Fri Mar 20 10:59:15 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 0c350b4babe44edca6800ea1935eb3d467407ea2
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=0c350b4babe44edca6800ea1935eb3d467407ea2

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