Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 19055

Re: Intel Edison Add third-party packages to the image

$
0
0

ok i solved the issue and found another bug in your documentation

Edison Board Support Package User Guide mention under 3.3 #7 to add IMAGE_INSTALL: += "package-name" what is wrong

the correct line must be IMAGE_INSTALL_append = " package-name"

 

reason:

Yocto Project Reference Manual

Image recipes set IMAGE_INSTALL to specify the packages to install into an image through image.bbclass. Additionally, "helper" classes exist, such as core-image.bbclass, that can take IMAGE_FEATURES lists and turn these into auto-generated entries in IMAGE_INSTALL in addition to its default contents.

Using IMAGE_INSTALL with the += operator from the /conf/local.conf file or from within an image recipe is not recommended as it can cause ordering issues. Since core-image.bbclass sets IMAGE_INSTALL to a default value using the ?= operator, using a += operation against IMAGE_INSTALL will result in unexpected behavior when used in conf/local.conf. Furthermore, the same operation from within an image recipe may or may not succeed depending on the specific situation. In both these cases, the behavior is contrary to how most users expect the += operator to work.

When you use this variable, it is best to use it as follows:
     IMAGE_INSTALL_append = " package-name"
                   
Be sure to include the space between the quotation character and the start of the package name or names.


Viewing all articles
Browse latest Browse all 19055

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>