summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--classes/dm-verity-img.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/dm-verity-img.bbclass b/classes/dm-verity-img.bbclass
index 93f667d..dd447e6 100644
--- a/classes/dm-verity-img.bbclass
+++ b/classes/dm-verity-img.bbclass
@@ -63,7 +63,7 @@ verity_setup() {
63 veritysetup --data-block-size=${DM_VERITY_IMAGE_DATA_BLOCK_SIZE} --hash-offset=$SIZE format $OUTPUT $OUTPUT | tail -n +2 | process_verity 63 veritysetup --data-block-size=${DM_VERITY_IMAGE_DATA_BLOCK_SIZE} --hash-offset=$SIZE format $OUTPUT $OUTPUT | tail -n +2 | process_verity
64} 64}
65 65
66VERITY_TYPES = "ext2.verity ext3.verity ext4.verity btrfs.verity" 66VERITY_TYPES = "ext2.verity ext3.verity ext4.verity btrfs.verity erofs.verity erofs-lz4.verity erofs-lz4hc.verity"
67IMAGE_TYPES += "${VERITY_TYPES}" 67IMAGE_TYPES += "${VERITY_TYPES}"
68CONVERSIONTYPES += "verity" 68CONVERSIONTYPES += "verity"
69CONVERSION_CMD:verity = "verity_setup ${type}" 69CONVERSION_CMD:verity = "verity_setup ${type}"
@@ -90,6 +90,6 @@ python __anonymous() {
90 # If we're using wic: we'll have to use partition images and not the rootfs 90 # If we're using wic: we'll have to use partition images and not the rootfs
91 # source plugin so add the appropriate dependency. 91 # source plugin so add the appropriate dependency.
92 if 'wic' in image_fstypes: 92 if 'wic' in image_fstypes:
93 dep = ' %s:do_image_%s' % (pn, verity_type) 93 dep = ' %s:do_image_%s' % (pn, verity_type.replace("-", "_"))
94 d.appendVarFlag('do_image_wic', 'depends', dep) 94 d.appendVarFlag('do_image_wic', 'depends', dep)
95} 95}