[yocto] environment setup script

Christopher Larson clarson at kergoth.com
Thu Apr 14 10:42:54 PDT 2016


On Thu, Apr 14, 2016 at 10:39 AM Sid Price <sidprice at softtools.com> wrote:

> Hello, I am new to Yocto and relatively new to Linux. I am working my way
> through the “Getting Started” guide and I have met a problem. I am trying
> to run the “environment-setup …” script for the arm platform. First I
> notice that when I list the folder /opt/poky/2.0.1 I see the scripts but
> they are not shown as executable. Is this correct? When I try the following
> command I am told “Permission denied”:
>
>
>
> /opt/poky/2.0.1/environment-setup-armv5e-poky-linux-gnueabi
>
>
>
> If I use sudo I see “command not found”
>

The setup script has to be *sourced* into your shell, not run. The
instructions most likely included a leading '.' but you missed it. Either
type '. /opt/poky/2.0.1/environment-setup-armv5e-poky-linux-gnueabi' or
'source /opt/poky/2.0.1/environment-setup-armv5e-poky-linux-gnueabi' in
your shell.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160414/8ae23c82/attachment.html>


More information about the yocto mailing list