summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/curl
diff options
context:
space:
mode:
authorOleksandr Hnatiuk <ohnatiuk@cisco.com>2023-07-21 01:18:56 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-07-25 15:27:33 +0100
commite4890e2276fd17ee03fc8551687b8bb0d24b1bfd (patch)
tree3cfd7797e3e9f9088b3259da25fa60986cc8e218 /meta/recipes-support/curl
parent795d8114d424670153cce21b6e6bdd7300c672d7 (diff)
downloadpoky-e4890e2276fd17ee03fc8551687b8bb0d24b1bfd.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: e76b059cf4ba9a79150032d68d012b233dd79a65) Signed-off-by: Oleksandr Hnatiuk <ohnatiuk@cisco.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/curl')
0 files changed, 0 insertions, 0 deletions