]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
testsdk: Avoid PATH contamination
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 17 Feb 2024 17:07:26 +0000 (17:07 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 18 Feb 2024 07:32:47 +0000 (07:32 +0000)
commit39ac3439dfdf2afa67abed4bd32aeb3c14979ded
treec11816a077532271a7c9a93bbfff027b5bf37a3d
parent6a757f9648685448fd18507f6aaf4eed0a57579f
testsdk: Avoid PATH contamination

The autobuilder has been seeing increasing numbers of testsdk failures
where xz was 'missing':

ERROR: core-image-sato-1.0-r0 do_testsdk: Couldn't install the SDK:
Error: xz is required for installation of this SDK, please install it first

This is probably due to xz and it's libraries not being in the sysroots
in a way which works without races.

Since the SDK should be using the host, fix this. The eSDK already does
this to solve a similar problem so copy the code from there.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/sdk/testsdk.py