anchor.diff:  # Put resin-image in the flasher rootfs
   add_resin_image_to_flasher_rootfs() {
       mkdir -p ${WORKDIR}/rootfs/opt
  -    cp ${DEPLOY_DIR_IMAGE}/resin-image-${MACHINE}.resin-sdcard ${WORKDIR}/rootfs/opt
  +    cp ${DEPLOY_DIR_IMAGE}/resin-image-${MACHINE}.resinos-img ${WORKDIR}/rootfs/opt
   }
   
   IMAGE_PREPROCESS_COMMAND += " add_resin_image_to_flasher_rootfs; "
  
positive.code: IMAGE_FSTYPES = ""
  
  # Make sure you have the resin image ready
  IMAGE_DEPENDS_resin-sdcard_append = " resin-image:do_rootfs"
  
  IMAGE_FEATURES_append = " \
      ${@bb.utils.contains('DISTRO_FEATURES', 'development-image', 'debug-tweaks', '', d)} \
  
negative.code:     "
  
  # Avoid useless space by not using any data image partition
  RESIN_DATA_FS = ""
  
  # We do not use a second root fs partition for the flasher image, so just default to RESIN_IMAGE_ALIGNMENT
  RESIN_ROOTB_SIZE = "${RESIN_IMAGE_ALIGNMENT}"
  
  # Avoid naming clash with resin image labels
  RESIN_BOOT_FS_LABEL = "flash-boot"
  RESIN_ROOTA_FS_LABEL = "flash-rootA"
  RESIN_ROOTB_FS_LABEL = "flash-rootB"
  RESIN_STATE_FS_LABEL = "flash-state"
  RESIN_DATA_FS_LABEL = "flash-data"
  
  # Put the resin logo, uEnv.txt files inside the boot partition
  RESIN_BOOT_PARTITION_FILES_append = " resin-logo.png:/splash/resin-logo.png"
  