Changes

Jump to: navigation, search

Yocto build system FAQs

4 bytes added, 20:59, 26 April 2018
m
minor changes - source code formatting
==FAQs==
 
===Q: Why does smart return error: Failed acquiring release file for '<channel_name>': when used over https ?===
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 [https://lists.yoctoproject.org/pipermail/yocto/2015-July/025774.html discussion]. <br>
===Q:<span id="Q2"></span> Why does pip return There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590) - skipping ?===
'''Note:''' In the case that the time on your system is out of sync, please adjust the date and time and make another attempt to install the package. A wrong system date/time may cause the verification process to fail.<br>
In order to solve this problem, a possible workaround consist of disabling the SSL CERTIFICATE checking as suggested in the following example:<br>
''pip install pyserial --trusted-host pypi.python.org --index-url=<nowiki>http://pypi.python.org/simple/</nowiki>'' <br>
Other similar solutions can be found at this [https://stackoverflow.com/questions/34615693/can-i-turn-off-python-pip-ssl-cert-validation-with-an-env-variable page ]
 
'''Note:''' In the case that the time on your system is out of sync, please adjust the date and time and make another attempt to install the package. A wrong system date/time may cause the verification process to fail.
===Q:<span id="Q3"></span> How can I turn off git SSL verification? ===
 
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?===
 
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].
743
edits

Navigation menu