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

Improve Makefile to unify building and installation

    XMLWordPrintable

    Details

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

      Description

      Currently, there are duplicated recipes and documentation with regards to how to install the mender client on a device.

      List follows:

      To avoid duplicity of information and ease maintenance, we want to transfer the "install" knowledge to the `mender` client repo, specifically to its Makefile `install` target.

      The idea would be to reduce the user instructions to something simple like:

      go get github.com/mendersoftware/mender
      cd $GOPATH/src/github.com/mendersoftware/mender
      make
      sudo make install

      See the full discussion here

      Acceptance criteria:

      • Include both demo and production configuration templates in make install (e.g. mender.conf.demo, mender.conf.production)
      • mender.conf.production uses Hosted Mender by default
      • there is a documented (in README.md) way to cross-compile the Mender client during make
      • README.md updated for make install

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  lluis Lluís Campos
                  Reporter:
                  lluis Lluís Campos
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Zendesk Support

                      Summary Panel