summaryrefslogtreecommitdiffstats
path: root/scripts/lib/resulttool/regression.py
diff options
context:
space:
mode:
authorOleksandr Hnatiuk <ohnatiuk@cisco.com>2023-07-21 01:18:56 -0700
committerSteve Sakoman <steve@sakoman.com>2023-08-15 06:18:49 -1000
commit5a717511f281c10f061505eb6768caf0466afa2c (patch)
tree74d6756a44407a1a1f98563bfb79da6e4bd26859 /scripts/lib/resulttool/regression.py
parentc687d4326dd9074ade59ee8d98dfc0cdc7e7b3d8 (diff)
downloadpoky-5a717511f281c10f061505eb6768caf0466afa2c.tar.gz
file: return wrapper to fix builds when file is in buildtools-tarball
Wrapper that adds proper path to magic file was removed in 47db876d09d9a4394048579c21d0b394450ce681 in favor of environment-setup.d/file.sh which now contains `MAGIC` environment variable. This breaks builds that rely on external buildtools with `file` included in buildtools-tarball (e.g. via TOOLCHAIN_HOST_TASK) because do_populate_sysroot task invokes `file` via `subprocess.check_output` (in is_elf function) and doesn't use variables from files in environment-setup.d. To address this use case, we need to preserve the wrapper, but also have environment-setup.d/file.sh for the purposes described in 47db876d09d9a4394048579c21d0b394450ce681. (From OE-Core rev: 4a9832c55044b894e933179e5c1b6a96634809c0) Signed-off-by: Oleksandr Hnatiuk <ohnatiuk@cisco.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit e76b059cf4ba9a79150032d68d012b233dd79a65) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'scripts/lib/resulttool/regression.py')
0 files changed, 0 insertions, 0 deletions