[OE-core] [PATCH 1/2] distutils: fix to avoid file-rdeps QA issue

Burton, Ross ross.burton at intel.com
Wed Jul 27 14:20:36 UTC 2016


On 27 July 2016 at 06:52, Chen Qi <Qi.Chen at windriver.com> wrote:

> Fix this problem by hardcoding '/usr/bin/env'.
>
> Usually, we don't like hardcoding. But as far as I can see, /usr/bin/env is
> a little special. We skip the 'file-rdeps' QA checking for '/usr/bin/env'
> dependency. Besides, scripts in many packages do use '/usr/bin/env'. So we
> should assume it's there in our system.
>

I think we should be replacing with ${bindir} for target binaries (so the
right paths are used, no matter what bindir is set to) and hard-coding
/usr/bin for native and nativesdk.

If the sanity test is hardcoding /usr/bin/env then that likely should
change to respect ${bindir} too.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160727/7e38623b/attachment-0002.html>


More information about the Openembedded-core mailing list