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

Mender-convert failure using raspberrypi4_ubuntu_config

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Low
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 3.2.0, 3.2.0-report, 3.1.1
    • Labels:
    • Environment:
    • Days in progress:
      0

      Description

      Downloaded mender-convert as part of the tutorial on your docs site. When running:

      MENDER_ARTIFACT_NAME=release-1 ./docker-mender-convert \ 
      --disk-image input/golden-image-1.img \
      --config configs/raspberrypi4_ubuntu_config \
      --overlay rootfs_overlay_demo/
      

      A fatal error halts the script almost immediately, with the reported error:

      configs/raspberrypi_config: line 13: RASPBERRYPI_CONFIG: unbound variable

      Now, if mender-convert is run calling raspberrypi4_config instead, a different error occurs at the end of the build. I'll file a report on that one as well.

      Dell Green and I had a conversation on the Mender Hub and he suggested editing the ubuntu config to remove the raspberrypi_binaries entry and add RASPBERRYPI_CONFIG="raspberrypi4". This resolved the issue, and I was able to continue the conversion (until it was determined that I needed to change disk size, but that's obviously outside the scope of this report).

      Pull request being created on github now.

        Attachments

          Activity

            People

            Assignee:
            a10040 Kristian Amlie
            Reporter:
            ronin Sherwood "Rushowr/Ronin" McGowan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: