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

Mender-artifact cat,cp modifies the Artifact upon execution

    XMLWordPrintable

    Details

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

      Description

      Cat'ing, or cp'ing an Artifact changes the underlying characteristics of the Artifact, since it now repackages the whole Artifact upon command execution. This results in that it mutates and breaks it, signature is gone, compression type is changed from lzma to gzip.

      See [here](https://hub.mender.io/t/mender-artifact-cat-mutates-and-damages-artifact/3286) for closer examination.

      Acceptance criteria:

      • Fix the underlying repackaging issue, in which Artifacts are destroyed.
      • Add regression tests

        Attachments

          Activity

            People

            • Assignee:
              oleorhagen Ole Petter Orhagen
              Reporter:
              oleorhagen Ole Petter Orhagen
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel