]> code.ossystems Code Review - openembedded-core.git/commitdiff
selftest/devtool: change write to append config in virtual_kernel_modify
authorAníbal Limón <anibal.limon@linux.intel.com>
Mon, 1 May 2017 17:11:23 +0000 (12:11 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 May 2017 13:01:38 +0000 (14:01 +0100)
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@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oeqa/selftest/devtool.py

index 57048665c072f0eb8fb1cf888b42b14ea64fc749..39f3543417a03f73f4e9964c0731fd1862a817eb 100644 (file)
@@ -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)