diff options
author | Ross Burton <ross.burton@intel.com> | 2015-10-16 23:02:26 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-27 07:24:29 +0000 |
commit | 698c3deebe21906d8c8470a735fcb72d543b0ccf (patch) | |
tree | 11bc7a917f530289793b865d71c049204df45ab3 /scripts/runqemu-export-rootfs | |
parent | 83a2bde15d79432c16cb03e9098bd0cd9cab3b43 (diff) | |
download | poky-698c3deebe21906d8c8470a735fcb72d543b0ccf.tar.gz |
file: don't replace host file when built natively
To avoid races over the file binaries being replaced mid-build we made
file-native an assume-provided binary and check for it at startup, but target
file still needs a native file binary of the same version to compile the magic
data.
The least invasive way of doing this is to build a native file don't put it on
PATH, and tell the target build where to find the native binary. We do however
want the native libmagic to be installed normally (as for example rpm and
subversion need it) so we can't use NATIVE_PACKAGE_PATH_SUFFIX as that change
libdir.
[ YOCTO #8144 ]
(From OE-Core rev: d48c0191871ce6b6fbf17d89b8f9d2750b64d671)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu-export-rootfs')
0 files changed, 0 insertions, 0 deletions