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

mender-artifact: cli operations fail on images with empty inactive partition

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3.0
    • Labels:
    • Sprint:
      MEN Sprint 162
    • Story Points:
      8
    • Backlog:
      yes
    • Days in progress:
      3

      Description

      After this commit in meta-mender, the images generated by mender do not populate the inactive partition.

      mender-artifact cli operations such as cp expect the two partitions to exist and have the same files, so that for example a file is copied to both of them. See this comment. These operation now just error.

      We should fix mender-artifact to probe for partitions and write to only these that actually exist instead of just.

      Acceptance criteria:

      • Bug is fixed
      • Unit tests for it

        Attachments

          Activity

            People

            Assignee:
            oleorhagen Ole Petter Orhagen
            Reporter:
            lluis LluĂ­s Campos
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: