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

Warn on unused MENDER_* variables

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

      A user wanting to build for Hosted Mender updated his local.conf accordingly:

      MENDER_SERVER_URL = "https://hosted.mender.io"
      MENDER_TENANT_TOKEN = "..."
      

      However it didn't work and it seems like the reason is that he is on morty with Mender 1.0.1, so I am assuming that setting MENDER_TENANT_TOKEN does not have any effect there.

      This is just one example, most likely other options will be set and might be silently ignored because users are on a release that does not support those options.

      Acceptance criteria

      • If a variable with the MENDER_ prefix is set and it is not used a build-time warning is issued

        Attachments

          Container Issues

            Activity

              People

              • Assignee:
                alfrunes Alf-Rune Siqveland
                Reporter:
                a10003 Eystein Maloy Stenberg
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support

                    Summary Panel