[yocto] Allowing a local command to be executed in a recipe.

Paul Knopf pauldotknopf at gmail.com
Thu Dec 7 07:47:13 PST 2017


This command is very complicated to setup. It is easier for us to use it
via the "whitelist" method.

This isn't being done in a layer that will be released, otherwise I would.
This is internal use only.

What is the method to whitelist a host command?

On Wed, Dec 6, 2017 at 1:27 PM, Alexander Kanavin <
alexander.kanavin at linux.intel.com> wrote:

> On 12/06/2017 07:55 PM, Paul Knopf wrote:
>
>> I have a local utility that is manually installed on our dev/build
>> machines.
>>
>> How do I configure Yocto to let me use this local command? It is located
>> in /usr/local/bin.
>>
>> Lets say the command is "my-command".
>>
>
>
> Write a recipe for the command, and include a "my-command-native"
> dependency into recipes that need it. Then no one has to manually install
> it.
>
> (yes, yocto has a whitelist for host commands somewhere, but changing it
> is wrong)
>
> Alex
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171207/df938e8e/attachment.html>


More information about the yocto mailing list