diff options
author | Maciej Borzęcki <maciek@thing.com> | 2023-02-01 15:17:19 +0100 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2023-02-11 10:36:23 -0500 |
commit | ab8651c139a05c476d7e8a6a987106b2f7e9a354 (patch) | |
tree | 3c5eb3600f49f0ceb015fb42acadc11092f45ce7 | |
parent | 3529cfb43e47015aa0621755e7b6536b7947d295 (diff) | |
download | meta-security-ab8651c139a05c476d7e8a6a987106b2f7e9a354.tar.gz |
dm-verity-img.bbclass: add squashfs images
Add squashfs to images supported by verity.
Signed-off-by: Maciek Borzecki <maciek@thing.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | classes/dm-verity-img.bbclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/classes/dm-verity-img.bbclass b/classes/dm-verity-img.bbclass index dd447e6..e5946bc 100644 --- a/classes/dm-verity-img.bbclass +++ b/classes/dm-verity-img.bbclass | |||
@@ -63,7 +63,12 @@ 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 erofs.verity erofs-lz4.verity erofs-lz4hc.verity" | 66 | VERITY_TYPES = " \ |
67 | ext2.verity ext3.verity ext4.verity \ | ||
68 | btrfs.verity \ | ||
69 | erofs.verity erofs-lz4.verity erofs-lz4hc.verity \ | ||
70 | squashfs.verity squashfs-xz.verity squashfs-lzo.verity squashfs-lz4.verity squashfs-zst.verity \ | ||
71 | " | ||
67 | IMAGE_TYPES += "${VERITY_TYPES}" | 72 | IMAGE_TYPES += "${VERITY_TYPES}" |
68 | CONVERSIONTYPES += "verity" | 73 | CONVERSIONTYPES += "verity" |
69 | CONVERSION_CMD:verity = "verity_setup ${type}" | 74 | CONVERSION_CMD:verity = "verity_setup ${type}" |