packaging: Add CC's AmdSev OVMF target for use in payload images

Currently leaving the cc-sev-ovmf-tarball target out of the cc payload.
I was not sure where discussion had landed on the number of payload bundles.
e.g. could be included in a cc bundle along with tdx support or create an SEV bundle.

Fixes: kata-containers#5025

Fixes: #5025

Signed-off-by: Alex Carter <Alex.Carter@ibm.com>
This commit is contained in:
Alex Carter
2022-08-29 16:00:02 +00:00
committed by Alex
parent 55c8c7226d
commit 93a1780bdb
2 changed files with 12 additions and 1 deletions

View File

@@ -88,7 +88,8 @@ cc: cc-cloud-hypervisor-tarball \
cc-tdx-kernel-tarball \
cc-tdx-qemu-tarball \
cc-tdx-td-shim-tarball \
cc-tdx-tdvf-tarball
cc-tdx-tdvf-tarball \
cc-sev-ovmf-tarball
cc-cloud-hypervisor-tarball:
${MAKE} $@-build
@@ -122,3 +123,6 @@ cc-tdx-td-shim-tarball:
cc-tdx-tdvf-tarball:
${MAKE} $@-build
cc-sev-ovmf-tarball:
${MAKE} $@-build

View File

@@ -92,6 +92,7 @@ options:
cc-rootfs-image
cc-shimv2
cc-virtiofsd
cc-sev-ovmf
EOF
exit "${return_code}"
@@ -207,6 +208,10 @@ install_cc_tdx_tdvf() {
install_cc_tee_ovmf "tdx" "edk2-staging-tdx.tar.gz"
}
install_cc_sev_ovmf(){
install_cc_tee_ovmf "sev" "edk2-sev.tar.gz"
}
#Install guest image
install_image() {
info "Create image"
@@ -335,6 +340,8 @@ handle_build() {
cc-tdx-tdvf) install_cc_tdx_tdvf ;;
cc-sev-ovmf) install_cc_sev_ovmf ;;
cloud-hypervisor) install_clh ;;
firecracker) install_firecracker ;;