mirror of
https://git.yoctoproject.org/meta-security
synced 2026-01-11 15:00:34 +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>
(cherry picked from commit ab8651c139)
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
d13f680eb8
commit
d398cc6ea6
@@ -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
|
||||
}
|
||||
|
||||
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}"
|
||||
CONVERSIONTYPES += "verity"
|
||||
CONVERSION_CMD:verity = "verity_setup ${type}"
|
||||
|
||||
Reference in New Issue
Block a user