summaryrefslogtreecommitdiffstats
path: root/meta/classes
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 22:32:22 +0000
commitb27342d23325796fdc69488cd7517fd51195cac2 (patch)
tree9882e65dcc33a3e652fd95930adc883c9a97f965 /meta/classes
parentd0bed311890b8187fd3eec4d7173bb1667ff2413 (diff)
downloadpoky-b27342d23325796fdc69488cd7517fd51195cac2.tar.gz
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" (From OE-Core rev: 65b2a0e1ba7e176f3e405ed8968665660fc414d3) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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):
156 with open(os.path.join(sdk_dir, 'conf', 'auto.conf'), 'a+') as f: 156 with open(os.path.join(sdk_dir, 'conf', 'auto.conf'), 'a+') as f:
157 f.write('SSTATE_MIRRORS += " \\n file://.* file://%s/PATH"\n' % test_data.get('SSTATE_DIR')) 157 f.write('SSTATE_MIRRORS += " \\n file://.* file://%s/PATH"\n' % test_data.get('SSTATE_DIR'))
158 f.write('SOURCE_MIRROR_URL = "file://%s"\n' % test_data.get('DL_DIR')) 158 f.write('SOURCE_MIRROR_URL = "file://%s"\n' % test_data.get('DL_DIR'))
159 f.write('INHERIT += "own-mirrors"') 159 f.write('INHERIT += "own-mirrors"\n')
160 160
161 # We need to do this in case we have a minimal SDK 161 # We need to do this in case we have a minimal SDK
162 subprocess.check_output(". %s > /dev/null; devtool sdk-install meta-extsdk-toolchain" % \ 162 subprocess.check_output(". %s > /dev/null; devtool sdk-install meta-extsdk-toolchain" % \