mirror of
https://git.yoctoproject.org/meta-security
synced 2026-05-06 16:48:42 +00:00
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>
This commit is contained in:
committed by
Armin Kuster
parent
3529cfb43e
commit
ab8651c139
@@ -63,7 +63,12 @@ verity_setup() {
|
|||||||
veritysetup --data-block-size=${DM_VERITY_IMAGE_DATA_BLOCK_SIZE} --hash-offset=$SIZE format $OUTPUT $OUTPUT | tail -n +2 | process_verity
|
veritysetup --data-block-size=${DM_VERITY_IMAGE_DATA_BLOCK_SIZE} --hash-offset=$SIZE format $OUTPUT $OUTPUT | tail -n +2 | process_verity
|
||||||
}
|
}
|
||||||
|
|
||||||
VERITY_TYPES = "ext2.verity ext3.verity ext4.verity btrfs.verity erofs.verity erofs-lz4.verity erofs-lz4hc.verity"
|
VERITY_TYPES = " \
|
||||||
|
ext2.verity ext3.verity ext4.verity \
|
||||||
|
btrfs.verity \
|
||||||
|
erofs.verity erofs-lz4.verity erofs-lz4hc.verity \
|
||||||
|
squashfs.verity squashfs-xz.verity squashfs-lzo.verity squashfs-lz4.verity squashfs-zst.verity \
|
||||||
|
"
|
||||||
IMAGE_TYPES += "${VERITY_TYPES}"
|
IMAGE_TYPES += "${VERITY_TYPES}"
|
||||||
CONVERSIONTYPES += "verity"
|
CONVERSIONTYPES += "verity"
|
||||||
CONVERSION_CMD:verity = "verity_setup ${type}"
|
CONVERSION_CMD:verity = "verity_setup ${type}"
|
||||||
|
|||||||
Reference in New Issue
Block a user