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

On zeus, mounting the sdimg read-only still modifies the image, and destroys the stable checksum

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: yocto-3.0-zeus
    • Labels:

      Description

      The symptom is that the file that comes out of Yocto, and the one that runs on the device do not have the same checksum after the system has booted.

      This resolves it,

      EXTRA_IMAGECMD_ext4 = "-i 4096 -O ^64bit"
      

      When 64bit is enabled, there is a mysterious extra option "journal_64bit" under "Journal features" from dumpe2fs after having booted the image. This implies that the image was changed.

      Exactly the best way to fix this permanently still remains to be figured out.

      Acceptance criteria:

      • Fix the above issue somehow
      • Make a test which tests the runtime checksum of an image, and compares it to the checksum from the artifact

        Attachments

          Activity

            People

            • Assignee:
              a10040 Kristian Amlie
              Reporter:
              a10040 Kristian Amlie
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel