image-build: generate root hash as an separate partition for rootfs

Generate rootfs hash data during creating the kata rootfs,
current kata image only have one partition, we add another
partition as hash device to save hash data of rootfs data blocks.

Fixes: #6674

Signed-off-by: Wang, Arron <arron.wang@intel.com>
This commit is contained in:
Wang, Arron
2022-08-23 17:21:07 +08:00
committed by Fabiano Fidêncio
parent 31c0ad2076
commit 5cb02a8067
2 changed files with 22 additions and 1 deletions

View File

@@ -14,5 +14,6 @@ RUN ([ -n "$http_proxy" ] && \
gdisk \
parted \
qemu-img \
veritysetup \
xfsprogs && \
dnf clean all