Skip to contentSkip to conversation

selftest/devtool: change write to append config in virtual_kernel_modify

PATCH New Aníbal Limón 1 participant 1 message May 1, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 selftest/devtool: change write to append config in virtual_kernel_modify

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]

---
 meta/lib/oeqa/selftest/devtool.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/lib/oeqa/selftest/devtool.py +1 -1
index 8e7642c..0ab18b5 100644
@@ -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)
Signature · 1 line
2.1.4