Skip to content
Commit c5e70500 authored by Yoann Congal's avatar Yoann Congal Committed by Richard Purdie
Browse files

oeqa/selftest: Only rewrite envvars paths that absolutely point to builddir



When building the new selftest builddir, paths in environment variables
are rewritten to point to the new buildir, but users can have
environment variables that point outside of the build dir using
relative paths from builddir. We must not rewrite those.

Check this by verifying that the absolute path still contains the
builddir.

Fixes [YOCTO #15241]

Signed-off-by: default avatarYoann Congal <yoann.congal@smile.fr>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent 9f3099b7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment