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

Alexander Kanavin alexander.kanavin at linux.intel.com
Wed Dec 6 10:27:28 PST 2017


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



More information about the yocto mailing list