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

Yocto: Get rid of nearly all mender.conf specific variables

    XMLWordPrintable

    Details

    • Sprint:
      MEN Sprint 166
    • Story Points:
      8
    • Remaining Story Points:
      5
    • Backlog:
      yes
    • Days in progress:
      10

      Description

      Acceptance criteria:

      • Remove these variables from meta-mender (remember to remove from mender-vars.json as well, so users are warned about them):
        • MENDER_ARTIFACT_VERIFY_KEY
        • MENDER_INVENTORY_POLL_INTERVAL_SECONDS
        • MENDER_RETRY_POLL_INTERVAL_SECONDS
        • MENDER_SERVER_URL
        • MENDER_UPDATE_POLL_INTERVAL_SECONDS
        • MENDER_TENANT_TOKEN
      • All these settings must now be set by the user by providing a mender.conf file with the settings in them.
      • Notice the absence of MENDER_ROOTFS_PART_A and MENDER_ROOTFS_PART_B. These still need to be available because they influence more than one recipe. They should go into /data/mender/mender.conf as before.
      • For the demo layer which needs to insert polling values, use an extra Yocto task after the patch stage to patch this into the file, or create a new one if there is none.

        Attachments

          Activity

            People

            Assignee:
            a10040 Kristian Amlie
            Reporter:
            a10040 Kristian Amlie
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support