Difference between revisions of "Yocto build system FAQs"

From DAVE Developer's Wiki
Jump to: navigation, search
(Introduction)
(Q: How can I turn off git SSL verification?)
Line 19: Line 19:
 
Since the SSL_CERTIFICATE problem affects also 'git', it is suggested to turn off the SSL CERTIFICATE checking in the case you are trying to work with a repository over https. In order to achieve this, from the local folder export the GIT_SSL_NO_VERIFY variable, in this way:  
 
Since the SSL_CERTIFICATE problem affects also 'git', it is suggested to turn off the SSL CERTIFICATE checking in the case you are trying to work with a repository over https. In order to achieve this, from the local folder export the GIT_SSL_NO_VERIFY variable, in this way:  
 
''export GIT_SSL_NO_VERIFY=1''
 
''export GIT_SSL_NO_VERIFY=1''
 +
===Q: How to graphically visualize the dependancies of an image?===
 +
During the implementation of the production root file system image, it is convenient to graphically visualize the dependencies of the packages used in the development image (see also [[Working_with_the_Yocto_build_system#Introduction|this section]]).
 +
 +
To do that, issue the following command:
 +
<pre class="board-terminal">
 +
bitbake -g <image_name>
 +
</pre>
 +
This command produces a <code>recipe-depends.dot</code> file which can be visualized with the [http://www.graphviz.org/ <code>graphviz</code> tool].

Revision as of 12:12, 28 September 2017

Info Box
Yocto-logo.png Applies to Yocto

Introduction[edit | edit source]

This page provides includes a list of general FAQs related to the use of Yocto on the DAVE Embedded System's products.

FAQs[edit | edit source]

Q: Why does smart return error: Failed acquiring release file for '<channel_name>': when used over https ?[edit | edit source]

Although smart is capable of handling https connections, this error is caused by the SSL_CERTIFICATE issue that is affecting yocto build system. For more information, you can refer to this discussion.

At the moment we are still working on this issue in the attempt to find a permanent solution. Unfortunately, the SSL_CERTIFICATE problem also affects other tools for which a temporary workaround is provided.

Q: Why does pip return There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590) - skipping ?[edit | edit source]

In order to solve this problem, a possible workaround consist of disabling the SSL CERTIFICATE checking as suggested in the following example:
pip install pyserial --trusted-host pypi.python.org --index-url=http://pypi.python.org/simple/
Other similar solutions can be found at this page

Q: How can I turn off git SSL verification?[edit | edit source]

Since the SSL_CERTIFICATE problem affects also 'git', it is suggested to turn off the SSL CERTIFICATE checking in the case you are trying to work with a repository over https. In order to achieve this, from the local folder export the GIT_SSL_NO_VERIFY variable, in this way: export GIT_SSL_NO_VERIFY=1

Q: How to graphically visualize the dependancies of an image?[edit | edit source]

During the implementation of the production root file system image, it is convenient to graphically visualize the dependencies of the packages used in the development image (see also this section).

To do that, issue the following command:

bitbake -g <image_name>

This command produces a recipe-depends.dot file which can be visualized with the graphviz tool.