diff options
-rw-r--r-- | classes/dm-verity-img.bbclass | 4 |
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 | ||
66 | VERITY_TYPES = "ext2.verity ext3.verity ext4.verity btrfs.verity" | 66 | VERITY_TYPES = "ext2.verity ext3.verity ext4.verity btrfs.verity erofs.verity erofs-lz4.verity erofs-lz4hc.verity" |
67 | IMAGE_TYPES += "${VERITY_TYPES}" | 67 | IMAGE_TYPES += "${VERITY_TYPES}" |
68 | CONVERSIONTYPES += "verity" | 68 | CONVERSIONTYPES += "verity" |
69 | CONVERSION_CMD:verity = "verity_setup ${type}" | 69 | CONVERSION_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 | } |