summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMing Liu <liu.ming50@gmail.com>2020-11-25 12:00:13 +0100
committerMing Liu <liu.ming50@gmail.com>2020-11-25 12:00:13 +0100
commit4d34fa53db086955adf6bc58941ebf98a16778f8 (patch)
tree02c703cdc8d5ec80eb34f63ad7c410f10823f3a7
parent45dc621274f1c798619ffb34be4b1f8d1f657cab (diff)
downloadmeta-updater-4d34fa53db086955adf6bc58941ebf98a16778f8.tar.gz
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. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
-rw-r--r--classes/image_types_ota.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/image_types_ota.bbclass b/classes/image_types_ota.bbclass
index 753136e..43fc611 100644
--- a/classes/image_types_ota.bbclass
+++ b/classes/image_types_ota.bbclass
@@ -69,7 +69,7 @@ IMAGE_CMD_ota () {
69 echo "{\"${ostree_target_hash}\":\"${GARAGE_TARGET_NAME}-${target_version}\"}" > ${OTA_SYSROOT}/ostree/deploy/${OSTREE_OSNAME}/var/sota/import/installed_versions 69 echo "{\"${ostree_target_hash}\":\"${GARAGE_TARGET_NAME}-${target_version}\"}" > ${OTA_SYSROOT}/ostree/deploy/${OSTREE_OSNAME}/var/sota/import/installed_versions
70} 70}
71 71
72EXTRA_IMAGECMD_ota-ext4 = "-O ^64bit -L otaroot -i 4096" 72EXTRA_IMAGECMD_ota-ext4 = "-O ^64bit,^metadata_csum -L otaroot -i 4096"
73IMAGE_TYPEDEP_ota-ext4 = "ota" 73IMAGE_TYPEDEP_ota-ext4 = "ota"
74IMAGE_ROOTFS_task-image-ota-ext4 = "${OTA_SYSROOT}" 74IMAGE_ROOTFS_task-image-ota-ext4 = "${OTA_SYSROOT}"
75IMAGE_CMD_ota-ext4 () { 75IMAGE_CMD_ota-ext4 () {