3 Replies Latest reply on Dec 22, 2014 6:50 PM by Andre.M

    Intel Edison Add third-party packages to the image

    Andre.M

      i followed Edison Board Support Package User Guide 3.3 to add nano and mysql but neither nano nor mysql gets installed?

        • 1. Re: Intel Edison Add third-party packages to the image
          CMata_Intel

          Hi Andre.M

           

          Take a look at this thread, it could be helpful for you.

          Also, you could try using the packages in AlexT's blog, take a look at the directory index and how to install these packages

           

          Regards;

          CMata

          • 2. Re: Intel Edison Add third-party packages to the image
            Andre.M

            thx

            i called bitbake nano and bitbake mysql5, this step was NOT mentioned in the doc

            now i think a part of the doc (at least 1 to 6) is correct because bitbake now knows the packages

            but what do i need in which config file to have those packages in the image?

            build/conf/local.conf already include nano and mysql

            • 3. Re: Intel Edison Add third-party packages to the image
              Andre.M

              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.