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

Separate "File Install" Update Module in two

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Labels:
    • Sprint:
      MEN Sprint 84
    • Story Points:
      5
    • Backlog:
      yes

      Description

      The first beta testers for the module have reported "unexpected behaviors", being able to brick a device in one use case.

      Currently, File Install Update Module is supporting two different use cases (single file install and file tree install) that shall behave differently with regards to the rollback logic.

      The official OOTB Update Modules had the goal to be generic and simple, so that they can be used as inspiration for further development by the community. For this reason, we want to split it into two different Update Modules.

      Acceptance Criteria:

      • The update module is separated into two simpler scripts
      • The Generators are also separated accordingly
      • Mender Hub articles are separated/updated.
      • Consider removing bash dependency and use /bin/sh instead

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: