[OE-core] [PATCH 1/3] bitbake: add file-native to ASSUME_PROVIDED

Burton, Ross ross.burton at intel.com
Mon Oct 19 15:37:28 UTC 2015


So this breaks rpm-native v4, which needs file-native as it links to
libmagic.

Not sure what to do here.  If we install file-native directly into the
sysroot we get occasional races on the file binary  causing build
failures.  If we make file-native ASSUME_PROVIDED then rpm (and subversion)
change their behaviour depending on the presence of libmagic-dev on the
host (well, rpm4 requires libmagic, rpm5 and subversion change their
configuration).

Thoughts?

Ross

On 19 October 2015 at 11:05, Ross Burton <ross.burton at intel.com> wrote:

> Signed-off-by: Ross Burton <ross.burton at intel.com>
> ---
>  meta/conf/bitbake.conf | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
> index 9ddd1c0..06971da 100644
> --- a/meta/conf/bitbake.conf
> +++ b/meta/conf/bitbake.conf
> @@ -166,6 +166,7 @@ DATETIME = "${DATE}${TIME}"
>  ASSUME_PROVIDED = "\
>      bzip2-native \
>      chrpath-native \
> +    file-native \
>      git-native \
>      grep-native \
>      diffstat-native \
> --
> 2.1.4
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20151019/b335e484/attachment-0002.html>


More information about the Openembedded-core mailing list