image_types_ota.bbclass: add metadata_csum mkfs option
This fixes a following error:
| Saving Environment to EXT4... Unsupported feature metadata_csum found, not writing
when u-boot tries to write env to EXT4 filesystem.
@@ -69,7 +69,7 @@ IMAGE_CMD_ota () {
echo "{\"${ostree_target_hash}\":\"${GARAGE_TARGET_NAME}-${target_version}\"}" > ${OTA_SYSROOT}/ostree/deploy/${OSTREE_OSNAME}/var/sota/import/installed_versions
}
-EXTRA_IMAGECMD_ota-ext4 = "-O ^64bit -L otaroot -i 4096"
+EXTRA_IMAGECMD_ota-ext4 = "-O ^64bit,^metadata_csum -L otaroot -i 4096"
IMAGE_TYPEDEP_ota-ext4 = "ota"
IMAGE_ROOTFS_task-image-ota-ext4 = "${OTA_SYSROOT}"
IMAGE_CMD_ota-ext4 () {
