Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-2065

meta-mender-core causing massive package rebuild

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: yocto-2.5-sumo
    • Fix Version/s: yocto-2.5-sumo, yocto-2.6-thud
    • Labels:
      None
    • Environment:
      meta-mender-core: sumo branch
      yocto: sumo branch

      Description

      I am trying to integrate meta-mender-core into a product and I have noticed that adding the layer causes a massive amount of packages to be rebuilt.  This includes not only packages on the image but native packages as well.  Not sure if this was intentional or even fixable.

       

      A simple method for recreating:

      Create a default Yocto build.

      • Source default poky sumo branch

      Build core-image-minimal

      Add meta-mender-core layer to bblayers. 

      • Note you don't  even have to inherit any part of mender in local.conf for this to appear just add the layer.

      Rebuild core-image-minimal

      A large amount of packages are forced to rebuild.

       

      As an additional side effect and why I found this out in the first place:

      I have a few custom BSPs that share a common base hardware tune and distro.  Previously I was able to share packages between them without requiring a rebuild, however once I added mender it starts rebuilding them when I switch from one hardware build to another for the first time.  Since once of the packages that gets rebuilt is chromium it has made build times explode.

       

       

       

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mdavis Michael Davis
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel