kernel: Integrate initramfs into Guest kernel

Integrate initramfs into guest kernel as one binary,
which will be measured by the firmware together.

Fixes: #6674

Signed-off-by: Wang, Arron <arron.wang@intel.com>
This commit is contained in:
Wang, Arron
2022-09-05 17:36:42 +08:00
committed by Fabiano Fidêncio
parent 28b2645624
commit 0080588075
3 changed files with 19 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ sudo docker pull ${container_image} || \
sudo docker run --rm -i -v "${repo_root_dir}:${repo_root_dir}" \
-w "${PWD}" \
--env MEASURED_ROOTFS="${MEASURED_ROOTFS:-}" \
"${container_image}" \
bash -c "${kernel_builder} $* setup"