I would like to ask, how could i verify an integrity of rootfs. I would like to create a hash or signature of rootfs and store it in for example kernel image. Uboot and zImage are already signed with HAB tool. Maybe my idea is wrong, but how could I verify integrity of my rootfs ?
PS: As build tool I am using Yocto.
Thank you, for any advice