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-24 12:42:38 +0100 |
commit | d48c0191871ce6b6fbf17d89b8f9d2750b64d671 (patch) | |
tree | d0d13aa0e8efe67653fa8151f9df4e15cbf37e9d /meta/recipes-devtools/rpm/rpm_5.4+cvs.bb | |
parent | 5dad6758980233f976e39357b91b9cc673a574af (diff) | |
download | openembedded-core-contrib-d48c0191871ce6b6fbf17d89b8f9d2750b64d671.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 ]
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm_5.4+cvs.bb')
0 files changed, 0 insertions, 0 deletions