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

Add yocto override variable for mender-artifact image file

    XMLWordPrintable

    Details

      Description

      in meta-mender/meta-mender-core/classes/mender-artifactimg.bbclass

      the image file (.ext4 etc) is hard coded to use builds default path

      mender-artifact write rootfs-image \
      -n ${MENDER_ARTIFACT_NAME} \
      $extra_args \
      *-u ${IMGDEPLOYDIR}/${IMAGE_LINK_NAME}.${ARTIFACTIMG_FSTYPE} *
      ${MENDER_ARTIFACT_EXTRA_ARGS} \
      -o ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.mender
      }

      It would be useful to be able to override this so that a different image file could be used in builds that create multiple image files as the one that goes to create the mender artifact can be slightly different from the full sdimg file. Often the factory install full image and the mender artifact can be subtly different.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dell.green@ideaworks.co.uk Dell Green
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel