summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-10-11 23:28:47 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-06 10:13:39 +0000
commit65b2a0e1ba7e176f3e405ed8968665660fc414d3 (patch)
tree142863549826c252cc1fffc2202678e3c1c4612c
parentde30b61b87047f61de4629f8e5bd87598de7fd0c (diff)
downloadopenembedded-core-contrib-65b2a0e1ba7e176f3e405ed8968665660fc414d3.tar.gz
openembedded-core-contrib-65b2a0e1ba7e176f3e405ed8968665660fc414d3.tar.bz2
openembedded-core-contrib-65b2a0e1ba7e176f3e405ed8968665660fc414d3.zip
testsdk.bbclass: add a newline after own-mirrors
Otherwise it would generate lines like the following when multilib: INHERIT += "own-mirrors"SSTATE_MIRRORS += " \n file://.* file:///path/to/../share/sstate-cache/PATH" Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/testsdk.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/testsdk.bbclass b/meta/classes/testsdk.bbclass
index 9fe8c34fc2..2e43343643 100644
--- a/meta/classes/testsdk.bbclass
+++ b/meta/classes/testsdk.bbclass
@@ -156,7 +156,7 @@ def testsdkext_main(d):
with open(os.path.join(sdk_dir, 'conf', 'auto.conf'), 'a+') as f:
f.write('SSTATE_MIRRORS += " \\n file://.* file://%s/PATH"\n' % test_data.get('SSTATE_DIR'))
f.write('SOURCE_MIRROR_URL = "file://%s"\n' % test_data.get('DL_DIR'))
- f.write('INHERIT += "own-mirrors"')
+ f.write('INHERIT += "own-mirrors"\n')
# We need to do this in case we have a minimal SDK
subprocess.check_output(". %s > /dev/null; devtool sdk-install meta-extsdk-toolchain" % \