[OE-core] [PATCH] selftest/devtool: change write to append config in virtual_kernel_modify

Aníbal Limón anibal.limon at linux.intel.com
Mon May 1 17:11:23 UTC 2017


When uses write it creates a full new configuration in selftest.inc
causing to fail populate_sdk_ext linux-yocto because the signature
of the sstate changes.

[YOCTO #11300]

Signed-off-by: Aníbal Limón <anibal.limon at linux.intel.com>
---
 meta/lib/oeqa/selftest/devtool.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/selftest/devtool.py b/meta/lib/oeqa/selftest/devtool.py
index 8e7642c..0ab18b5 100644
--- a/meta/lib/oeqa/selftest/devtool.py
+++ b/meta/lib/oeqa/selftest/devtool.py
@@ -1635,7 +1635,7 @@ class DevtoolTests(DevtoolBase):
         #Set machine to qemxu86 to be able to modify the kernel and
         #verify the modification.
         features = 'MACHINE = "qemux86"\n'
-        self.write_config(features)
+        self.append_config(features)
         kernel_provider = get_bb_var('PREFERRED_PROVIDER_virtual/kernel')
         # Clean up the enviroment
         bitbake('%s -c clean' % kernel_provider)
-- 
2.1.4




More information about the Openembedded-core mailing list