On 27 July 2016 at 06:52, Chen Qi <qi.c...@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
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core