* [meta-security][PATCH] dm-verity-img.bbclass: add squashfs images
@ 2023-02-01 14:17 Maciek Borzecki
2023-02-08 12:06 ` Maciej Borzęcki
0 siblings, 1 reply; 4+ messages in thread
From: Maciek Borzecki @ 2023-02-01 14:17 UTC (permalink / raw)
To: yocto; +Cc: Maciek Borzecki
Add squashfs to images supported by verity.
Signed-off-by: Maciek Borzecki <maciek@thing.com>
---
classes/dm-verity-img.bbclass | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
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() {
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}"
--
2.39.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [meta-security][PATCH] dm-verity-img.bbclass: add squashfs images
2023-02-01 14:17 [meta-security][PATCH] dm-verity-img.bbclass: add squashfs images Maciek Borzecki
@ 2023-02-08 12:06 ` Maciej Borzęcki
2023-02-11 15:36 ` akuster808
0 siblings, 1 reply; 4+ messages in thread
From: Maciej Borzęcki @ 2023-02-08 12:06 UTC (permalink / raw)
To: yocto; +Cc: Armin Kuster
[-- Attachment #1: Type: text/plain, Size: 1439 bytes --]
On Wed, Feb 1, 2023 at 3:17 PM Maciek Borzecki <maciek@thing.com> wrote:
> Add squashfs to images supported by verity.
>
> Signed-off-by: Maciek Borzecki <maciek@thing.com>
> ---
> classes/dm-verity-img.bbclass | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> 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() {
> 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}"
> --
> 2.39.1
>
>
Gentle ping about the patch. Wanted to resubmit this to kirkstone along
with a cherry-pick of
https://git.yoctoproject.org/meta-security/commit/classes/dm-verity-img.bbclass?id=8ca6bb86e653a332f7cb5b30babc0cd6c58769d0,
so I'd be thankful for any feedback.
Cheers,
Maciek
[-- Attachment #2: Type: text/html, Size: 2123 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [meta-security][PATCH] dm-verity-img.bbclass: add squashfs images
2023-02-08 12:06 ` Maciej Borzęcki
@ 2023-02-11 15:36 ` akuster808
0 siblings, 0 replies; 4+ messages in thread
From: akuster808 @ 2023-02-11 15:36 UTC (permalink / raw)
To: Maciej Borzęcki, yocto
merged.
On 2/8/23 7:06 AM, Maciej Borzęcki wrote:
> On Wed, Feb 1, 2023 at 3:17 PM Maciek Borzecki <maciek@thing.com> wrote:
>
> Add squashfs to images supported by verity.
>
> Signed-off-by: Maciek Borzecki <maciek@thing.com>
> ---
> classes/dm-verity-img.bbclass | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> 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() {
> 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}"
> --
> 2.39.1
>
> Gentle ping about the patch. Wanted to resubmit this to kirkstone
> along with a cherry-pick of
> https://git.yoctoproject.org/meta-security/commit/classes/dm-verity-img.bbclass?id=8ca6bb86e653a332f7cb5b30babc0cd6c58769d0,
> so I'd be thankful for any feedback.
>
> Cheers,
> Maciek
^ permalink raw reply [flat|nested] 4+ messages in thread
* [[meta-security][PATCH] dm-verity-img.bbclass: add squashfs images
@ 2023-02-01 14:03 Maciej Borzęcki
0 siblings, 0 replies; 4+ messages in thread
From: Maciej Borzęcki @ 2023-02-01 14:03 UTC (permalink / raw)
To: yocto; +Cc: Maciek Borzecki
Add squashfs to images supported by verity.
Signed-off-by: Maciek Borzecki <maciek@thing.com>
---
classes/dm-verity-img.bbclass | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
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() {
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}"
--
2.39.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-02-11 15:36 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-01 14:17 [meta-security][PATCH] dm-verity-img.bbclass: add squashfs images Maciek Borzecki
2023-02-08 12:06 ` Maciej Borzęcki
2023-02-11 15:36 ` akuster808
-- strict thread matches above, loose matches on Subject: below --
2023-02-01 14:03 [[meta-security][PATCH] " Maciej Borzęcki
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.