[OpenWrt-Devel] [PATCH 07/11] include/image.mk: add support for building a dm-verity enabled squashfs image

2019-03-11 Thread Thomas Petazzoni
This commit adds a new TARGET_ROOTFS_SQUASHFS_HASHED option that asks OpenWRT to generate a squashfs image suitable for usage with dm-verity. The squashfs image is produced, and then passed through "cryptsetup format" which appends the hash tree to the image. The output of "cryptsetup format" is p

Re: [OpenWrt-Devel] [PATCH 07/11] include/image.mk: add support for building a dm-verity enabled squashfs image

2019-03-25 Thread Hauke Mehrtens
On 3/11/19 5:20 PM, Thomas Petazzoni wrote: > This commit adds a new TARGET_ROOTFS_SQUASHFS_HASHED option that asks > OpenWRT to generate a squashfs image suitable for usage with > dm-verity. The squashfs image is produced, and then passed through > "cryptsetup format" which appends the hash tree t

Re: [OpenWrt-Devel] [PATCH 07/11] include/image.mk: add support for building a dm-verity enabled squashfs image

2019-03-25 Thread Thomas Petazzoni
Hello Hauke, One again, thanks for the review! On Mon, 25 Mar 2019 18:21:56 +0100 Hauke Mehrtens wrote: > > fs-types-$(CONFIG_TARGET_ROOTFS_SQUASHFS) += squashfs > > +fs-types-$(CONFIG_TARGET_ROOTFS_SQUASHFS_HASHED) += squashfs-hashed > > fs-types-$(CONFIG_TARGET_ROOTFS_JFFS2) += $(addprefix